W,Z,B = input().split(' ') W, Z = map(int, [W, Z]) B = eval(B) ans = int((W + Z) * (1 + B)) print(ans)