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