            #  Ek algorithm banao jo user se 2 number input lega. Aur fir unn number ko multiply karke 
            #  print kare. Jaise, agar input hai 5 aur 4 tab 20 print hona chahiye.


n1=int(input("enter no."))
n2=int(input("enter no.."))
s=0
while n2!=0:
    s+=n1
    n2-=1
    print(s)