PRA4: Equation Solver // Advanced

 
After tutoring younger students for a while, you've come up with a brilliant solution to ease your workload: create a simple equation solver that solves one variable, linear equations. These equations can contain any single, lowercase letter as a variable name.

Input Format

A String containing a linear equation containing one variable represented by an unknown lowercase letter.

Sample Input

4*j+7=3*j-4

Output Format

A single line containing the value of the variable

Sample Output

-11




You must be logged in to submit a solution.