Vivek Ghosh's submission of Magic Elements | CodeChef