W, Z, B = input().split() W = int(W) Z = int(Z) B = float(B) ans = int((W+Z)*(B+1)) print(ans)