#include <iostream>
using namespace std;
constexpr unsigned floorlog2(unsigned x)
{
return x == 1 ? 0 : 1+floorlog2(x >> 1);
}
constexpr unsigned ceillog2(unsigned x)
{
return x == 1 ? 0 : floorlog2(x - 1) + 1;
}
int main() {
cout << ceillog2(2) << endl;
// your code goes here
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKY29uc3RleHByIHVuc2lnbmVkIGZsb29ybG9nMih1bnNpZ25lZCB4KQp7CiAgICByZXR1cm4geCA9PSAxID8gMCA6IDErZmxvb3Jsb2cyKHggPj4gMSk7Cn0KCmNvbnN0ZXhwciB1bnNpZ25lZCBjZWlsbG9nMih1bnNpZ25lZCB4KQp7CiAgICByZXR1cm4geCA9PSAxID8gMCA6IGZsb29ybG9nMih4IC0gMSkgKyAxOwp9CgoKaW50IG1haW4oKSB7CiAgICAgICAgY291dCA8PCBjZWlsbG9nMigyKSA8PCBlbmRsOwoKCS8vIHlvdXIgY29kZSBnb2VzIGhlcmUKCXJldHVybiAwOwp9