Replace Strings

Input

Output