Find the Runner-Up Score!

  • + 1 comment

    if name == 'main':

    n = int(input())
    
    arr = list(map(int, input().split()))
    
    arr1 = [x for x in arr if x < max(arr)]
    
    print(max(arr1))