import java.util.*;

public class BinInsert {
    public int binInsert(int n, int m, int j, int i) {
        // write code here
       // m<<=j;
        m=m<<j;
        return m|n;
    }
}