int main( void ) { long V,T,P; scanf("%ld%ld%ld",&V,&T,&P); V = V + V*P; printf("%ld", V + (V-1)/(T-1) + 1L ); }