#include using namespace std; long long INF = 2000000000000000000; int main(){ long long V, T, P; cin >> V >> T >> P; long long tv = 0; long long fv = INF; while (fv - tv > 1){ long long mid = (tv + fv) / 2; if (mid - mid / T <= V * (P + 1)){ tv = mid; } else { fv = mid; } } cout << fv << endl; }