#include <iostream>

using namespace std;

int main(){

	int a;
	cin >> a;
	int b = 2;
	int x = 1;
	while (b <= a){
		b *= 2;
		x++;
	}
	cout << x;
}