#include "bits/stdc++.h" #define rep(i,n) for(int i=0;i> x >> y >> h; x *= 1000; y *= 1000; while (x > h || y > h) { if (x > h && (x < y || y <= h)) { y *= 2; h *= 4; } else { x *= 2; h *= 4; } ans++; } cout << ans << "\n"; }