#include using namespace std; using ll=long long; using Graph=vector>>; #define INF 1000000000000000000 #define MOD 1000000007 int main(){ int N,M; cin>>N>>M; vector L(N); for(int i=0;i>L.at(i); L.at(i)--; } vector count(M,0); for(int i=0;i