x=[1,2,3,5,7,11,13,17,19,23] n=int(input()) y=[] for i in range(n): y.append(x[i]) num=1 for i in y: num*=i for i in y: print(num//i,end=" ")