l = [3, 45, 9, 8, 12, 89, 103, 42, 54, 79] x = int(input()) if x in l: t = l.index(x) else: t = len(l) for i in range(0,t): print(l[i])