N = int(input()) import math n = math.ceil(N/2) ans = [3,6,2,4] m2 = [2*i for i in range(4,10**5)] ans.extend(m2) print(" ".join([str(i) for i in ans[:n]]))