func_code_string: #include <bits/stdc++.h>   using namespace std;   int n, m, k, arr[1005], ro[1005], co[1005];   char s[2000000];   int main() {     int a, b;     cin >> s + 1;     a = count(s + 1, s + strlen(s + 1) + 1,  x );     b = count(s + 1, s + strlen(s + 1) + 1,  y );     for (int i = 1; i <= a - b; i++) cout <<  x ;     for (int i = 1; i <= b - a; i++) cout <<  y ;     cout << endl;   }   