for x in sorted(set((i/19)**(i%19+2)for i in range(9000)))[2:513]:print x