Let us say i have list of students and score against each student. (Name of student may\may not repeat. i the list of top 3 students(Rank) and sum of scores against each student.
Input:
<tbody>
A
B
1
Shash
40
2
Yog
10
3
Yog
10
4
Avi
10
5
Ran
80
6
Shash
50
7
Raj
5
8
Raj
2...