let i = require('fs').readFileSync('/dev/stdin', 'utf8') - 0 let b = 1 let c = 0 while (true) { c++ b *= 2 if (i <= b) break } console.log(c)