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