#include <bits/stdc++.h> using namespace std; int main (){ float a; int t=0; cin>>a; while(a>1){ a/=2.0; t++; } cout<<t; return 0; }