N = int(input()) res = list() for i in range(61): for j in range(27): if 10**N % (2**i * 5**j) == 0: res.append(2**i * 5**j) res.sort() print(*res, sep='\n')