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 3 2 2 3 2000000000") elif N >= 5: print ("2000000000",*[i+1 for i in range(1,N+1)],"2000000000")