#include<iostream> using namespace std; int main(){ int a,b,c; a=10; b=20; c=8; cout<<(a+b)*c/2<<endl; return 0; }