#include #include using namespace std; int q,n,i,j; char s[200]; int main() { //freopen("p1.in","r",stdin); //freopen("p1.out","w",stdout); gets(s); n=strlen(s); for(i=0;i