Abhijeet Krishnan's submission of Magic Elements | CodeChef