#include #define ll long long int #define w(t) int t;cin>>t;while(t--) using namespace std; int main() { ll l,b,h,count=0;; cin>>l>>b>>h; l*=1000; b*=1000; while(1) { if(l>h) { l/=2; count++; h*=2; } else if(b>h) { b/=2; count++; h*=2; } else break; } cout<