#include #include #include #include #include #include #include using namespace std; typedef long long ll; int main(){ ios::sync_with_stdio(false); cin.tie(0); cout << setprecision(10) << fixed; double x, y, h; cin >> x >> y >> h; x *= 1000; y *= 1000; int ans = 0; for(int i = 0; i < (1<<21); i++){ int cnt = 0; double H = h; double X = x; double Y = y; for(int j = 0; j <= 21; j++){ int m = 1< H){ cnt++; H *= 2; X /= 2; } }else{ if(Y > H){ cnt++; H *= 2; Y /= 2; } } } ans = max(ans, cnt); } cout << ans << endl; }