func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     int n = 0, m = 0;     string s;     cin >> s;     for (int i = 0; i < s.length(); i++)       if (s[i] ==  x )         n++;       else         m++;     if (n > m)       for (int i = 1; i <= n - m; i++) cout <<  x ;     else if (n < m)       for (int i = 1; i <= m - n; i++) cout <<  y ;     return 0;   }   