#include using namespace std; template inline void chmin(T1 &a,T2 b){if(a>b) a=b;} template inline void chmax(T1 &a,T2 b){if(a struct FixPoint : F{ FixPoint(F&& f):F(forward(f)){} template decltype(auto) operator()(Args&&... args) const{ return F::operator()(*this,forward(args)...); } }; template inline decltype(auto) MFP(F&& f){ return FixPoint{forward(f)}; } //INSERT ABOVE HERE signed main(){ cin.tie(0); ios::sync_with_stdio(0); Int x,y,h; cin>>x>>y>>h; x*=1000;y*=1000; Int ans=0; MFP([&](auto dfs,Int a,Int b,Int c,Int d)->void{ chmax(ans,d); if(a>c) dfs(a,b*2,c*4,d+1); if(b>c) dfs(a*2,b,c*4,d+1); })(x,y,h,0); cout<