Find the Runner-Up Score!

  • + 0 comments
    if __name__ == '__main__':
        n = int(input())
        arr = map(int, input().split())
        new_list = list(set([rscore for rscore in arr]))
        new_list.sort()
        print(new_list[-2])