Problem1631--乘积最大 (课程9)

1631: 乘积最大 (课程9)

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

Description

输入N个整数,找出其中的两个数a和b,使a*b最大,输出这个最大值。

Input

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

Output

 一个整数。

Sample Input Copy

4
3 -6 1 9

Sample Output Copy

27

Source/Category