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