Devansh Bajpai's submission of Magic Set | CodeChef