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