A = int(input()) MAX = 10 ** A num2 =0 num5 =0 list = [] while(True): if(MAX % 2 == 0): num2 = num2 + 1 MAX = MAX / 2 else:break while(True): if(MAX % 5 == 0): num5 = num5 +1 MAX = MAX / 5 else:break for i in range(num2 + 1): for j in range(num5 + 1): list.append( (2**(i)) * (5**(j)) ) list.sort() for i in list: print(i)