w, z, b = map(float, input().split()) print(int((w + z) * (1 + b) + 0.5))