#include #include int main(void) { char str[1500]={0}; int n; int i; scanf("%s",str); n=strlen(str); for (i=0; i