#include <stdio.h> #include <stdlib.h> #include <iostream> #include <string> using namespace std; int main() { char temp[1100]; string sinput; while(gets(temp)!=NULL) { sinput=temp; int pos=sinput.find("you"); while (pos!=-1) { sinput.replace(pos,3,"we"); pos=sinput.find("you"); } cout<<sinput<<endl; } return 0; }