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