#include<bits/stdc++.h> using namespace std;   int main(){     char str[100005] ,c;     int i=0;     memset(str,0,sizeof(str));  gets(str);     for(i=0;str[i]!='\0';i++){}     int pos=0;     int beg=0,end=i-1;     while(beg<=end){         if(str[beg]!=str[end]){             if(str[beg+1]==s...