#include using namespace std; int main(void){ int N, count = 0, i = 1; cin >> N; while(1){ if(i >= N) break; i *= 2; count++; } cout << count << endl; return 0; }