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

#define FOR(i,s,t )for(int i = s; i <t ; i++)
using LL = long long; using ll = LL;
using PLL = pair<LL, LL>; using  pll = PLL;
using PII = pair<int, int>; using  pii = PII;
#define SZ(a) (int)a.size()
#define ALL(a) a.begin(),a.end()
#define SORT(a) sort(ALL(a))



int main() {
	LL n;
	cin >> n;
	LL i = 1;
	int cnt = 0;
	while (i<=n)	{
		i <<= 1;
		cnt++;
	}
	cout << cnt << endl;

	return 0;
}
