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