#include using namespace std; int main(void) { int w,z; double b; cin >> w >> z >> b; cout << (int)((w+z)*(1+b)) << endl; return 0; }