n = gets.to_i bis = 1 cnt = 0 while bis < n bis *= 2 cnt += 1 end puts cnt