n = gets.to_i print Math.log2(n).ceil