a=[2,3,5,7,11,13,17,19,23] cur=1 for e in a:cur*=e v=[] for e in a: v.append(cur//e) v.append(cur) N=int(input()) print(*v[:N])