def mult(v,w):
  if (v==1): return w
#  or: use if (v==0): return 0
  else: 
    return w+mult(v-1,w)
x=int(input("type in a number\n"))
y=int(input("type in a number\n"))
print x," multiplied by ", y," is ", mult(x,y)
#try input of 9 -5
#try  input of -5 9

