import kotlin.math.* /* Keep dividing by 2 (sword) until you have less then 1, then do the final punch. The number of times you can divide a number is ceil(log_2) */ fun main() = println(readln().toDouble().let { ceil(log2(it)) + 1 }.toLong())