const lines = require('fs').readFileSync('/dev/std', 'utf-8').trim().split('\n').values(); const N = Number(lines.next().value); console.log(Math.ceil(Math.log2(N)));