from itertools import* n=id(0)%5*2+5 for c in combinations(map(str,range(1,n+1)),233%n):print' '.join(c)