func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     ios::sync_with_stdio(false);     int n;     cin >> n;     int *sher = new int[n];     char d;     for (int i = 0; i < n; i++) {       cin >> d;       sher[i] = d -  0 ;     }     int *mor = new int[n];     for (int i = 0; i < n; i++) {       cin >> d;       mor[i] = d -  0 ;     }     sort(sher, sher + n, greater<int>());     sort(mor, mor + n, greater<int>());     int out = 0;     int l = 0, r = n - 1;     for (int i = 0; i < n; i++) {       if (sher[i] > mor[l]) {         r--;         out++;       } else         l++;     }     cout << out << endl;     l = 0;     r = n - 1;     out = 0;     for (int i = 0; i < n; i++) {       if (sher[i] < mor[l]) {         l++;         out++;       } else         r--;     }     cout << out << endl;     return 0;   }   