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