#include <iostream>
#include <stdio.h>
using namespace std;
long long fun(long long x)
{
return (x == 1) ? 1 : fun(x / 2) + 1;
}
int main(void)
{
long long n;
while (scanf("%lld", &n) != EOF)
printf("%lld\n", fun(n));
return 0;
}
#include <iostream>
#include <stdio.h>
using namespace std;
long long fun(long long x)
{
return (x == 1) ? 1 : fun(x / 2) + 1;
}
int main(void)
{
long long n;
while (scanf("%lld", &n) != EOF)
printf("%lld\n", fun(n));
return 0;
}