Compute top three scores per student | Apple