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