Find the Runner-Up Score!

  • + 62 comments

    How about this shorter one...

    n = int(raw_input())
    
    nums = map(int, raw_input().split())	
    print sorted(list(set(nums)))[-2]