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