#include using namespace std; int main(void){ //input int W,Z; double bai; cin >> W >> Z >> bai; //calc double p = W + W * bai + Z + Z * bai; //output cout << (int)p; }