n=input() n=n.split() b=0 for i in range(0,3): n[i]=int(n[i]) for j in range(1,n[2]+1): b=b+n[0] b=b*n[1] print(b)