#include #include int main() { int c, i, len; char S[1024+16]; char p; scanf("%s", S); len = strlen(S); for (i=0; i