def main(): N = int(input()) seq = [3 for _ in range(N-1)] seq.append(1) print(*seq) if __name__ == "__main__": main()