#include using namespace std; int main(){ int n; cin >> n; for(int i=0;i<30;i++) if(n <= (1 << i)){ cout << i << endl; break; } }