def main(): n = int(input()) ans = [1] + [3] * (n - 1) print(*ans) if __name__ == "__main__": main()