Shreyash Gupta's submission of Magic Set | CodeChef