i=input() s=input() t=0 p=0 while t <= s: t=t+1 p=p+i print(s+p)