#include using namespace std; int main() { int n,c=0; cin >> n; while(n>1){ n = (n+1) / 2; c++; } cout << c << endl; }