Ace-coder designed using HackerEarth API