func_code_string: #include <bits/stdc++.h>   const int INF = (int)1e9;   const double PI = acos(-1.);   using namespace std;   string s;   long long sumr, suml, need;   int main() {     cin >> s;     for (int i = 0; i < s.length(); i++) {       if (s[i] ==  ^ ) need = i;     }     for (int i = need - 1; i >= 0; i--) {       if (s[i] !=  = ) {         suml += (s[i] -  0 ) * (need - i);       }     }     for (int i = need + 1; i < s.length(); i++) {       if (s[i] !=  = ) {         sumr += (s[i] -  0 ) * (i - need);       }     }     if (sumr == suml)       cout <<  balance ;     else if (suml > sumr)       cout <<  left ;     else       cout <<  right ;     return 0;   }   