#include using namespace std; typedef long long ll; int main(){ string s; int r=0; int l=0; cin>>s; for(int i=1;i