n = gets.to_i biscuit = 1 i = 0 until biscuit >= n biscuit = biscuit * 2 i += 1 end puts i