#include<bits/stdc++.h> using namespace std; int main(){ float S,a,b,h; cin>>a>>b>>h; S=(a+b)*h/2; printf("%.1f\n",S); return 0; } /************************************************************** Problem: 1329 User: zengyixuan Language: C++ Result: Accepted Time:14 ms Memory:2072 kb ****************************************************************/