#include <iostream>
using namespace std;
int n;
int rez;
int main()
{
    cin>>n;
    while(n!=0)
	{
		rez++;
		n/=2;
	}
	cout<<rez;
    return 0;
}