Replace the strings

Problem Name:
Replace the strings
Site:HackerEarth
Links:
Tags:
Problem setters: