Parenthesize an arithmetic expression to maxi- mize its value.
Input. A string
Output. The maximum value of the given arithmetic expression among all possible orders of applying arithmetic operations.
Parenthesize an arithmetic expression to maxi- mize its value.
Input. A string
Output. The maximum value of the given arithmetic expression among all possible orders of applying arithmetic operations.