a,b,h=map(int,input().split()) s=(a+b)*h/2 print('%.1f'% s) /************************************************************** Problem: 1329 User: admin Language: Python Result: Accepted Time:90 ms Memory:34244 kb ****************************************************************/