public class ZhuMuLangMaZhi {

    public static void main(String[] args) 
    {
        double A = 0.0008;
        int B = 0;
        while (A<8848)
        {
            B=B+1;
            A=A*2;
            
        }
        System.out.print(B);
    }

}