#include <iostream>
using namespace std;
int main(){
  long long v,t,p;cin>>v>>t>>p;
  cout << 1+((v*(p+1))%(t-1)) + (v*(p+1)/(t-1))*t << endl;
}