Language: C++

import java.util.*;
import java.io.InputStreamReader;
import java.io.BufferedReader;
import java.util.Arrays;
import java.util.List;
import java.util.ArrayList;
import java.util.ArrayDeque;
import java.util.Deque;
import java.util.Collections;


public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String[] xy = br.readLine().split(" ");
        long x = Long.parseLong(xy[0]);
        long y = Long.parseLong(xy[1]);
        
        int count = 1;
        for (int i = 1; ;i++) {
            x *= 2;
            if (x <= y) count++;
            else break;
        }
        System.out.println(count);
        
    }
}

class Box {
    int w;
    int h;
    public Box(int w, int h) {
        this.w = w;
        this.h = h;
    }
}

class BoxComparator1 implements Comparator<Box>{
	public int compare(Box b1, Box b2) {
		return b1.w - b2.w;
	}
}

class BoxComparator2 implements Comparator<Box> {
    public int compare(Box b1, Box b2) {
        return b1.h - b2.h;
    }
}


Compiler output:
a.cc:1:1: error: 'import' does not name a type
    1 | import java.util.*;
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:2:1: error: 'import' does not name a type
    2 | import java.io.InputStreamReader;
      | ^~~~~~
a.cc:2:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:3:1: error: 'import' does not name a type
    3 | import java.io.BufferedReader;
      | ^~~~~~
a.cc:3:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:4:1: error: 'import' does not name a type
    4 | import java.util.Arrays;
      | ^~~~~~
a.cc:4:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:5:1: error: 'import' does not name a type
    5 | import java.util.List;
      | ^~~~~~
a.cc:5:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:6:1: error: 'import' does not name a type
    6 | import java.util.ArrayList;
      | ^~~~~~
a.cc:6:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:7:1: error: 'import' does not name a type
    7 | import java.util.ArrayDeque;
      | ^~~~~~
a.cc:7:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:8:1: error: 'import' does not name a type
    8 | import java.util.Deque;
      | ^~~~~~
a.cc:8:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:9:1: error: 'import' does not name a type
    9 | import java.util.Collections;
      | ^~~~~~
a.cc:9:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:12:1: error: expected unqualified-id before 'public'
   12 | public class Main {
      | ^~~~~~
a.cc:34:11: error: expected ':' before 'Box'
   34 |     public Box(int w, int h) {
      |           ^~~~
      |           :
a.cc:38:2: error: expected ';' after class definition
   38 | }
      |  ^
      |  ;
a.cc: In constructor 'Box::Box(int, int)':
a.cc:35:14: error: request for member 'w' in '(Box*)this', which is of pointer type 'Box*' (maybe you meant to use '->' ?)
   35 |         this.w = w;
      |              ^
a.cc:36:14: error: request for member 'h' in '(Box*)this', which is of pointer type 'Box*' (maybe you meant to use '->' ?)
   36 |         this.h = h;
      |              ^
a.cc: At global scope:
a.cc:40:33: error: expected initializer before 'Comparator'
   40 | class BoxComparator1 implements Comparator<Box>{
      |                                 ^~~~~~~~~~
a.cc:46:33: error: expected initializer before 'Comparator'
   46 | class BoxComparator2 implements Comparator<Box> {
      |                                 ^~~~~~~~~~