Abhinav Kumar's submission of Magic Set | CodeChef