Problem1629--第2大 (课程9)

1629: 第2大 (课程9)

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

Description

输入N个整数,求其中第2大的值。

Input

第一行1个整数N:范围在[2,200]。
第二行N个整数:每个整数范围在[-10000000,100000000]。

Output

一个整数。

Sample Input Copy

4
3 6 1 9

Sample Output Copy

6

Source/Category