Find the Runner-Up Score!

  • + 1 comment

    if name == 'main': n = int(input()) arr = list(map(int, input().split()))

    a=max(arr)
    c=arr.count(a)
    
    for i in range(c):
        arr.remove(a)
    
    print(max(arr))