//#include <cstdio>
#include <iostream>
//#include <cstdlib>
//#include <windows.h>
//#include <Windowsx.h>
//#include <process.h>
//#include <winnt.h>
//#include <stddef.h>
//#include <fstream>
#include <cmath>
//#include <iomanip>
//#include <cstring>
using namespace std;
int main(){
long long n , cnt=0;
cin >> n;
while(true){
if(n == 1){
break;
}
n = floor(n * 1.0 / 2);
cnt++;
}
cout << cnt;
return 0;
}