use std::io::{self, BufRead}; fn main() { io::stdin().lock().lines().for_each(|l| { let input = l .unwrap() .split(' ') .map(|n| n.parse::().unwrap()) .collect::>(); let mut power = 1; let mut answer = 0; while power < input[0] { power <<= 1; answer += 1; } println!("{}", answer); }); }