import java.util.* fun main(args: Array) { val sc = Scanner(System.`in`) var num = Integer.parseInt(sc.next()) var count:Int = 0 while (num > 1) { num = (num+1) /2 count++ } println(count) }