import kotlin.math.* // Printing out a double gives WA. fun main() = println(readln().toDouble().let { ceil(log2(it)) + 1 })