n,i=int(input()),2 while n: if not([x for x in range(2,i)if i%x==0]):print(i);n-=1 i+=1