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