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