#!/usr/bin/env python3 def verifier(L, p, q): return len(L)==p and min(L)>=0 and max(L) <= q - 1 def composer(L1, L2): return [L2[i] for i in L1] def permutation(L):