Find the Runner-Up Score!

  • + 0 comments

    This is much better

    if __name__ == '__main__':
        n = int(input())
        arr = set(map(int, input().split()))
        arr.remove(max(arr))
        print(max(arr))