#include #include using namespace std; int main(int argc, char const* argv[]) { int n; cin >> n; int ans = ceil(log2(n)); cout << ans << endl; return 0; }