Function to check if it is possible to choose X and Y elements from a [ ] and b [ ] such that maximum element among X element is less than minimum element among Y elements
string check ( int a [ ] , int b [ ] , int Na , int Nb , int k , int m ) {