f(char*s,char*c){while(*s-*c||putchar(*c++),*s)putchar(*s++);}

int main (int argc, char** argv) {
	f("onomatopeia", "oao");
	return 0;
}