#include #include #include #include #include #include #include using namespace std; vectorv; vectors1; vectors2; vectors3; template void comp(X x) { if(s1.size()>=x && s1.size()+s2.size()x) { sort(s1.begin(),s1.end()); cout<x) { sort(s3.begin(),s3.end()); cout<>x; comp(x-1); return 0; }