#include<iostream> #include<cmath> using namespace std; int main(){ double a,b; cin>>a; b=0; for(;a>1;) { a/=2; b++; } cout<<b<<endl; return 0; }