Shivam's submission of Magic Elements | CodeChef