#include using namespace std; int main() { int cnt, num, goal; cnt = 0; num = 1; cin >> goal; if((goal%2) == 1 && goal != 1){ goal--; cnt++; } for(;num>goal;cnt++){ num *= 2; } cout << cnt << endl; return 0; }