N = gets.to_i ans = Math.log2(N).ceil puts ans