#include #include #include using namespace std; int N,M; main() { cin>>N>>M; vectorA(N); for(int&a:A)cin>>a; sort(A.begin(),A.end()); A.erase(unique(A.begin(),A.end()),A.end()); cout<