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