#include #include using namespace std; typedef unsigned long long ull; // https://stackoverflow.com/a/29389440 int bit_length(ull x) { return (8 * sizeof x) - countl_zero(x); } int main() { ull n; cin >> n; cout << bit_length(n - 1) + 1 << endl; }