public class Test {
    static long testL(long x) {
        return x | -1L;
    }

    static int testI(int x) {
        return x | -1;
    }


    public static void main(String[] strArr) {
        for (int i = 0; i < 10_000; i++) {
            testL(i);
            testI(i);
        }
    }
}

