#include #include #include #include #include #include #include #include using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define vi vector #define vivi vector const int INF = int(1e9); typedef long long int ll; /* -- template -- */ int main(){ double x, y, h; cin >> x >> y >> h; h /= 1000; int count = 0; while(x > h || y > h){ if(x > y && y > h){ y /= 2; h *= 2; }else{ x /= 2; h *= 2; } ++count; } cout << count; }