#include #include using namespace std; int main(){ int bis; cin >> bis; cout << (int)(log2(bis)+0.5) << endl; return 0; }