Pororo the penguin is playing with numbers! He is given integers: , , and . He can multiply or add the three numbers in any order, but he wants to get the largest possible result using all three numbers. For example, valid results are , , or . Help him figure out the largest possible result!
Constraints
Input Specification
The first line contains space-separated integers, , , and .
Output Specification
Output a single integer, the largest result obtainable by multiplying and/or adding all numbers in any order.
Sample Input 1
-1 3 5
Sample Output 1
14
Explanation of Sample 1
Sample Input 2
-1 -3 5
Sample Output 2
15
Explanation of Sample 2
Comments