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