#1595. 气球碰撞
气球碰撞
题目描述
小青遇到了这样一个问题:On every June 1st, the Children's Day, there will be a mass celebration in the Zhejiang University. As a flying plan, some balloons will be released into the campus.
输入格式
The input consists of multiple test cases. The first line of each test case contains an integer N (1 <= N <= 100). Then N numbers follow.
输出格式
For each test case, output the maximum product in a line.
样例
样例 1
输入 # 1
5 1 2 3 4 5
输出 # 1
120