#include <iostream>
#include <bits/stdc++.h>
using namespace std;

int main()
{
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);

    ll n,q;
    cin>>n>>q;
    vector<ll>a(n);
    for(int i=0;i<n;i++){
        cin>>a[i];
        mat[i][bit_width(a[i])]=1;
    }
    
}