For a Searce coding screen, determine the largest integer that can be formed using exactly three occurrences of the number 2. You may combine subexpressions with binary operators and apply factorial as a unary operator.
Implement highest_three_twos(max_ops) using at most max_ops mathematical operations.
Allowed operations are:
+, -, *, exact integer division /, and exponentiation **!Every intermediate result must be an integer with absolute value at most 10^8. Factorial is defined only for integers from 0 through 8. Division is valid only when the divisor is nonzero and the result is integral. Exponents must be nonnegative integers from 0 through 30.
Return the maximum value among all valid expressions. If an expression uses fewer than max_ops operations, it is still valid.
def highest_three_twos(max_ops):