import java.util.*;
class Solution {
public int[] solution(int n, int s) {
int[] ans = new int[n];
if(n>s){
return new int[]{-1};
}
int idx = 0;
while(s>0){
ans[idx++] = s/n;
s -= s/n;
n--;
}
return ans;
}
}