#include "bits/stdc++.h" using namespace std; typedef long long ll; int main() { ll x, y, h; cin >> x >> y >> h; x *= 1000; y *= 1000; int cnt = 0; while (h < x || h < y) { cnt++; if (h < y && x >= y) { x *= 2; h *= 4; } else { y *= 2; h *= 4; } //cout << x << " " << y << " " << h << endl; } cout << cnt << endl; return 0; }