n = int(input()) l = [3*i for i in range(1,n)] + [1] print(*l)