n, m = map(int,input().split())
for i in range(n):
    if i != n-1:
        print(1,end=" ")
    else:
        print(m-n+1)