11111111111111111111

albin 2023-09-24 16:46:52

#include

#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;

}