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