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

int main(){
	ios::sync_with_stdio(false);
	cin.tie(0);

	int n; cin >> n;
	int ex = 1, cnt = 0;
	while(ex < n){
		ex *= 2;
		cnt++;
	}
	cout << cnt << endl;
	return 0;	
}