#include #include int main(int argc, const char * argv[]){ int i,j, L=0, R=0; char s[100000]; scanf("%s",&s); for(i=0;i