#include #include #include #include int main() { int a,b,l,t,x,y; int sum=0; float k=0.5; scanf("%d %d %d",&a,&b,&t); x=(k*(a*t)); y=(k*(b*t)); sum=(x+y); printf("%d",sum); return 0; }