#include using namespace std; int main() { int a,b,t,x,y,z; cin>>a>>b>>t; x=0.5*a*t; y=0.5*b*t; z=x+y; cout<