# coding: utf-8 # Your code here! n=int(input()) for i in range(1,10^n): if 10^n%i==0: print(i)