#include using namespace std; int main() { float W,Z,B; cin >> W >> Z >> B; cout << (int)((W+Z)*(B+1)) << endl; }