N = int(input()) if N == 1: print ("2000000000 1000000001 2000000000") elif N == 2: print ("2000000000 315 36000 2000000000") elif N == 3: print ("2000000000 3 2 3 2000000000") elif N == 4: print ("2000000000 4 2 3 5 2000000000") elif N >= 5: ans = [2] for i in range(N-1): if i % 2: ans = ans + [i+3] else: ans = [i+3] + ans print ("2000000000",*ans,"2000000000")