V,T,P = map(int, input().split()) ans = (P+1)*V*T//(T-1)+1 if ans%T == 1: ans -= 1 print(ans)