func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     string s;     cin >> s;     vector<int> v(7, 0);     for (int i = 0; i < s.size(); i++) {       if (s[i] ==  B )         v[0]++;       else if (s[i] ==  u )         v[1]++;       else if (s[i] ==  l )         v[2]++;       else if (s[i] ==  b )         v[3]++;       else if (s[i] ==  a )         v[4]++;       else if (s[i] ==  s )         v[5]++;       else if (s[i] ==  r )         v[6]++;     }     int min1, min2;     min1 = min(v[1], v[4]);     min1 /= 2;     min2 = *min_element(v.begin(), v.end());     if (min1 > min2)       cout << min2 << endl;     else       cout << min1 << endl;   }   