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