N = int(input()) num = int(10 ** N) print('1') for i in range(2,num+1,2): if num % i == 0: print(i)