class Solution {
public long[] solution(int x, int n) {
long[] answer = new long [n];
long tmp = 0L;
for(int i=0;i<n;i++){
tmp += x;
answer[i] = tmp;
}
return answer;
}
}