Encrypt the STRING

Problem Name:
Encrypt the STRING
Site:HackerEarth
Links:
Tags:
Problem setters: