1 #include<stdio.h> 2 3 char s[1005]; 4 int lenth(char s[]) 5 { 6 int i=0; 7 while(s[i]) 8 ++i; 9 return i; 10 } 11 int main() 12 { 13 while(gets(s)) 14 { 15 int len=lenth(s); 16 for(int i=0; i<len; ++i) 17 { 18 if(i<len-2 && s[i]=='y' && s[i+1]=='o' && s[i+2]=='u') 19 printf("we"),i+=2; 20 else 21 putchar(s[i]); 22 } 23 printf(" "); 24 } 25 }