pranay varma's submission of Magic Set | CodeChef