#include <bits/stdc++.h>
using namespace std;
struct CWW{CWW(){ios::sync_with_stdio(false);cin.tie(0);}}cww;
int main()
{
	int N;
	cin >> N;
	int total{1}, res{};
	while( true )
	{
		if( total >= N )
		{
			break;
		}
		total = total*2;
		res++;
	}
	cout << res << endl;
	return 0;
}