Taranpreet Singh's submission of Optimal Subset | CodeChef