mod = 998244353 def main(): import sys input = sys.stdin.readline N, M = map(int, input().split()) ans = [1] * N print(*ans) if __name__ == '__main__': main()