solve give equation return value x form string xvalue the equation contain operation variable x coefficient you return no solution solution equation Infinite solution infinite solution equationif exactly solution equation ensure value x integer Example 1input equation x53x6x2Output x2Example 2input equation xxOutput Infinite solutionsExample 3input equation 2xxoutput x0 Constraints3 equationlength 1000equation exactly equation consist integer absolute value range 0 100 lead zero variable x