import java.util.*;

public class BinInsert {
    public static int binInsert(int n, int m, int j, int i) {
        m<<=j;
        return m|n;
    }
}