#include "bits/stdc++.h" using namespace std; typedef long long ll; int main() { long double 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) { y /= 2; h *= 2; } else { x /= 2; h *= 2; } //cout << x << " " << y << " " << h << endl; } cout << cnt << endl; return 0; }