In this video, we will perform a task on List datatype. We will also see how we can use while loop statement.
Given the participants' score sheet for University Sports Day, you are required to find the runner-up score. You are given n scores. Store them in a list and find the score of the runner-up.
Sample Input 0
5
2 3 6 6 5
Sample Output 0
5