#include #include #include using namespace std; using namespace atcoder; using mint = modint998244353; #define rep(i,n) for (int i = 0; i < (n); ++i) #define Inf32 1000000001 #define Inf64 1000000000000000000LL int main(){ int N,M,K; cin>>N>>M>>K; vector cnt(1000001); rep(i,M){ int t; cin>>t; cnt[t]++; } for(int i=cnt.size()-1;i>=1;i--){ for(int j=i*2;j