#include using namespace std; using ll = long long; constexpr char newl = '\n'; int main() { cin.tie(nullptr); ios::sync_with_stdio(false); ll v, t, p; cin >> v >> t >> p; ll hoge = v * (p + 1); ll foo = (hoge - 1) / (t - 1) + 1; //cerr << foo << newl; cout << 1 + (foo - 1) * t + (hoge - (t - 1) * (foo - 1)) << newl; return 0; }