#include using namespace std; typedef long long ll; int main() { string s; cin>>s; int n=s.size(); int left,right; left=right=0; for (int i=0;i