#include using namespace std; typedef long long ll; int main() { ll v, t, p; cin >> v >> t >> p; ll ans = (p+1)*v + ((p+1)*v-1) / (t-1) + 1; cout << ans << endl; return 0; }