a, b, c = map(float, input().split()) print(int((a + b) * (c + 1)))