Abhijeet Krishnan's submission of Magic Set | CodeChef