a,b,c=map(float,input().split()) s=(a+b)*c/2 print(int(s))
------Input------ 0 ------Answer----- 120 ------Your output-----