Bowen Yu's submission of How to Choose a Subset | CodeChef