[SRM620] CandidatesSelectionEasy by Yanzhe Chen