#include <bits/stdc++.h>
using namespace std;

int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  int w,z;
  double b;
  cin>>w>>z>>b;
  cout<<int((w+z)*(b+1.0))<<endl;
}