albin 2023-09-24 16:46:52
#include
using namespace std;
int main (){
double a,b,c; cin >> a>>b>>c; cout <<fixed<<setprecision(3)<< (a+a+c+c)*b/2; return 0;
}