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