aa=input() i,s=map(input(),input().split()) t=0 p=0 while t <= s: t=t+1 p=p+i print(s+p)