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