#include #include #include using namespace std; vector sort(vector list, int size) { bool ok=false; int aux; while (true) { for (int i=0; i>n; cin>>m; vector listW(n); vector listB(n); for (int i=0; i>listW[i]; cin>>listB[i]; } listW=sort(listW,n); listB=sort(listB,n); for (int i=0; i