fun main(arr:Array) { val bis = readLine()!!.toInt() var ans = 0 var current = 1 while (current * 2 <= bis) { ans++ current *= 2 } val remain = bis - current if(remain > 0) { ans++ } println(ans) }