#include #include int main() { int n; std::cin >> n; int k = static_cast(log2(n)); if (k != log2(n))k++; std::cout << k << std::endl; return 0; }