#include #include using namespace std; int main(){ int n; cin >> n; cout << (int)ceil(log(n) / log(2)) << endl; }