Find the Runner-Up Score!

  • + 1 comment

    py3 in one line :)

    print(sorted(list(set(map(int,input()==0 or input().split(" ")))))[-2])