include Math n = gets.chomp.to_i x = log2(n).floor if 2**x == n then puts x else puts x + 1 end