#include <bits/stdc++.h>
#include<stdio.h>
using namespace std;

long long int banjian(long long int a)
{
    if(a%2==0)
        a=a/2;
    else
        a=(a-1)/2;
    return a;
}
int main() {
    long long int a, b = 1;
    scanf("%lld", &a);
    if (a == 0)
{ printf("0\n");
    return 0;}
    while(a>1)
    {
        a=banjian(a);
        b++;
    }
    printf("%lld\n",b);
    return 0;
}

