#include #define rep(i,n) for(int i=0;i<(n);i++) using namespace std; using lint=long long; int main(){ lint v,t,p; cin>>v>>t>>p; lint lo=0,hi=LLONG_MAX; while(hi-lo>1){ lint mi=(lo+hi)/2; if(mi<=(mi-1)/t+1+(p+1)*v) lo=mi; else hi=mi; } cout<