#include<bits/stdc++.h> using namespace std; double x,y,t,ans,xs,ys=1; int main(){ cin>>x>>y>>t; while(xs<ys){ ans+=1; xs=ans/x; ys=ans/y+t; } cout<<ans-1; return 0; }