#include using namespace std;int64_t K,V;multiseta,b;main(){for(cin>>V>>K;cin>>V;)if(V<2){cin>>V;a.insert(-V);auto i=a.begin();a.size()