#include #define ll long long using namespace std; ll a,b,c; inline bool check(ll m){ ll sum=m/a*b+m-m/a; if(sum>=c)return 1; else return 0; } int main(){ cin>>a>>b>>c; ll ng=0,ok=c; while(ok-ng>1){ ll mid=(ok+ng)/2; if(check(mid)){ ok=mid; }else{ ng=mid; } } cout<