N, M = map(int, input().split()) A = [1] * M print(" ".join(map(str, A)))