def main(): n = int(input()) a = [1] + [3 for i in range(1,n)] print(*a) if __name__ == '__main__': main()