from collections import * from itertools import * from functools import * from heapq import * import sys,math input = sys.stdin.readline W,Z,B = map(float,input().split()) print(int((W+Z)*(B+1)))