#include #include #include using namespace std; int main() { char str[1000]; int z,o,j; while(gets(str)) { if(!strcmp(str,"E")) break; z = o = j = 0; int len = strlen(str); int i; for(i = 0;i