#include using namespace std; signed main(){ int N; cin >> N; cout << 32 - __builtin_clz( N ) - 1 << endl; return 0; }