package main import ( "fmt" "math" ) func main() { var N int fmt.Scan(&N) l := math.Log2(float64(N)) fmt.Println(int(math.Ceil(l))) }