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