#include using namespace std; long V,T,P; main() { cin>>V>>T>>P; ++P; long L=V*P; while(true) { long pre=L; L=V*P+(L-1)/T+1; if(pre==L)break; } cout<