#include using namespace std; using ll = long long; using P = pair; using PL = pair; // Welcome to my source code! int main() { ll x, y, h; cin >> x >> y >> h; x *= 1000; y *= 1000; ll cnt = 0; while (x > h || y > h) { if (x > h) { y *= 2; h *= 4; } else { x *= 2; h *= 4; } cnt++; } cout << cnt << endl; }