N = int(input())+1 print('\n'.join(map(str, sorted([2**n*5**m for n in range(N) for m in range(N)]))))