# -*- coding: utf-8 -*- n = int(input()) print(1,end=" ") for i in range(1,n-1): print(3,end=" ") print(3)