#include<stdio.h>
#include <string.h>
int main()
{
char S1[81]="\0",S2[81]="\0",t[81]="\0",*p=NULL;
gets(S1);
gets(S2);
int num2=strlen(S2);
while((p=strstr(S1,S2))!=NULL)
{
strcpy(t,p+num2);
*p='\0';
strcat(S1,t);
}
printf("%s\n",S1);
return 0;
}
04-20
716

08-29
415

03-12