# coding: utf-8 def main(): n = int(input()) A = solve(n) for a in A: print(a) def solve(n): n += 1 return sorted([2**i * 5**j for i in range(n) for j in range(n)]) if __name__ == '__main__': main()