N = int(input())

li = [(2**i)*(5**j) for i in range(N+1) for j in range(N+1)]
for n in sorted(li):
    print(n)

1c6e04a9ced1d6e7ce8397018a149489135ef1f7
<mask token>

<mask token>
for n in sorted(li):
    print(n)

N = int(input())
li = [(2 ** i * 5 ** j) for i in range(N + 1) for j in range(N + 1)]
for n in sorted(li):
    print(n)

N = int(input())

li = [(2**i)*(5**j) for i in range(N+1) for j in range(N+1)]
for n in sorted(li):
    print(n)
