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