#include using namespace std; int main() { int N,a=0; cin >> N; for (; N/2 > 0; ++a) { N /= 2; } cout << a << endl; return 0; }