#include using namespace std; int main(){ int p1,p2,N, num, ans=0; vector r; cin >> p1; cin >> p2; cin >> N; while(cin >> num) r.push_back(num); sort(r.begin(),r.end()); int pre=0; for(int i=0;i