A=[2,3,4] for n in range(7): A.append(9*2**n) print(len(A)) print(*A)