#include using namespace std; int main() { cin.tie(0); cout.tie(0); ios::sync_with_stdio(false); int W, Z; double B; cin >> W >> Z >> B; double ans = W * B + Z * B + W + Z; cout << (int) (ans + 0.01) << '\n'; return 0; }