function Main(input) {
	n = parseInt(input);
	console.log('%d',(n-1).toString(2).length);
}
// Don't edit this line!
Main(require("fs").readFileSync("/dev/stdin", "utf8"));