Find the Runner-Up Score!

  • + 9 comments

    A small variant of this solution:

    n = int(input())
    a = sorted(map(int, input().split()), reverse=True)
    print(a[a.count(a[0])])