Translate the matchstick
Medium
Execution time limit is 1 second
Runtime memory usage limit is 64 megabytes
A puzzle is created using matches in the format (A & B = C), where (&) represents one of the two operations: "(+)" or "(-)". Here, (A), (B), and (C) are single-digit Arabic numerals (0 through 9), arranged according to the template shown in the figure.
Your task is to move one matchstick to create a valid equation of the same type.
Input
The input consists of a single line containing the expression in the specified format.
Output
Output a single line with one of the possible correct equations. If no solution exists, output "-1".
Examples
Input #1
Answer #1
Submissions 211
Acceptance rate 17%