n = gets.to_i biscuit = ans = 1 while biscuit * 2 < n biscuit *= 2 ans += 1 end puts ans