Example 1

Example 2

Example 3

3 <= s.length <= 31s represents a valid expression that contains only digits 0-9, '+', and '*' only.All the integer operands in the expression are in the inclusive range [0, 9].1 <= The count of all operators ('+' and '*') in the math expression <= 15Test data are generated such that the correct answer of the expression is in the range of [0, 1000].n == answers.length1 <= n <= 1040 <= answers[i] <= 1000Example 1

Example 2

Example 3

3 <= s.length <= 31s represents a valid expression that contains only digits 0-9, '+', and '*' only.All the integer operands in the expression are in the inclusive range [0, 9].1 <= The count of all operators ('+' and '*') in the math expression <= 15Test data are generated such that the correct answer of the expression is in the range of [0, 1000].n == answers.length1 <= n <= 1040 <= answers[i] <= 1000