You are on page 1of 1

#include <iostream>

using namespace std;


int main()
{
long long c = -1, n;
cin >> n;
while (n) n /= 2, c++;
cout << c;
}

You might also like