Repository contained the Source code for Accepted solution on HackerEarth.com