#include using namespace std; using ll=long long; #include using namespace atcoder; int main(){ ios::sync_with_stdio(false); cin.tie(nullptr); ll N,D; cin>>N>>D; vector A(N); map M; for(int i=0;i>A[i]; M[A[i]]++; } map P; ll an=0; for(int i=0;i