Find the Runner-Up Score!

  • + 1 comment

    This exact one-liner gives me 2 when given the following input:

    5
    2 3 6 6 5
    

    When the answer should be 5.