Grid and phrase

Problem Name:
Grid and phrase
Site:HackerEarth
Links:
Tags:
Problem setters: