#include #define rep(i,n) for(int i=0;i pp; const int INF = 1e9; const int MOD = 1000000007; int main(){ double x,y,h; int ans = 0; cin >> x >> y >> h; x *= 1000; y *= 1000; while(1){ if(x > y) swap(x,y); if(x > h){ x /= 2; h *= 2; ans ++; } else if(y > h){ y /= 2; h *= 2; ans ++; } else{ //cout << x << " " << y << " " << h << endl; break; } } cout << ans << endl; return 0; }