#include #include using namespace std; int main(){ long long a; scanf("%lld",&a); printf("%lld",(long long)log2((double)a)+1); return 0; }