amit kumar's submission of Magic Elements | CodeChef