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