#include using namespace std; int main() { cin.tie(nullptr); ios::sync_with_stdio(false); double x,y,h; cin >> x >> y >> h; x *= 1000; y *=1000; if(x > y) swap(x, y); int res = 0; while(x > h + 1e-6) ++res, x *= 0.5, h *= 2.0; while(y > h + 1e-6) ++res, y *= 0.5, h *= 2.0; cout << res << '\n'; }