#include using namespace std; using ll = long long; #define fi first #define se second int main(){ int w, z; double b; cin >> w >> z >> b; int ans = (w + z) * (b + 1); cout << ans << endl; return 0; }