#include int main() { using namespace std; int N; cin >> N; int t = 0; while(1 < N) { N >>= 1; ++t; } cout << t << endl; return 0; }