Max loves to maximize elements. As such, he gives you an array of length , and wants you to print the maximum product of any elements in the array! Note that the two elements could both be the same element.
Input Specification
The first line will contain the integer .
The next line will contain integers, .
Output Specification
Output the maximum product of any two elements.
Sample Input
3
1 3 2
Sample Output
9
Comments