#include <iostream>
using namespace std;

int main() {
	int n, sol = 0;
	cin >> n;
	while(n != 0) {
		sol++;
		n = n / 2;
	}
	cout << sol << "\n";
	
	return 0;
}