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