#include #include using namespace std; int main(){ int n; cin >> n; double ans = log2(n); cout << ceil(ans) << endl; return 0; }