func_code_string: #include <bits/stdc++.h>   using namespace std;   char a;   int b, ans1, c[10], d;   int main() {     cin >> a >> b;     if (a ==  A ) {       ans1 = 1;       for (; b > 0; b /= 10) c[++d] = b % 10;       for (int i = 1; i <= d; i++) {         if (c[i] == 1)           ans1 += 10;         else           ans1 += c[i];       }     }     if (a !=  A ) {       for (; b > 0; b /= 10) c[++d] = b % 10;       for (int i = 1; i <= d; i++) {         if (c[i] == 1)           ans1 += 10;         else           ans1 += c[i];       }     }     cout << ans1;     return 0;   }   