func_code_string: #include <bits/stdc++.h>   using namespace std;   long long mi = 2e9;   long long ma = -2 * 1e9;   const int N = 1e5 + 5;   int main() {     std::ios_base::sync_with_stdio(0);     cin.tie(NULL);     cout.tie(NULL);     long long na, nb, ka, kb;     cin >> na >> nb >> ka >> kb;     long long a[na], b[nb];     for (int i = 0; i < na; ++i) cin >> a[i];     for (int i = 0; i < nb; ++i) cin >> b[i];     sort(a, a + na);     sort(b, b + nb);     long long x = nb - kb;     if (a[ka - 1] < b[nb - 1] && b[x] > a[ka - 1])       cout <<  YES ;     else       cout <<  NO ;   }   