w, z, b = map(float, input().split()) e = 1e-3 ans = (w + z) * (1 + b) print(int(ans + e))