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