Problem list
Log in
#coci00061 · COCI 2007/2008 Contest 5

Tri

Bronze III 1.0 s 32 MB

Little Mirko wrote into his math notebook an equation containing three positive integers, the equals sign and one of the four basic arithmetic operations (addition, subtraction, multiplication and division). During another class, his friend Slavko erased the equals sign and the operations from Mirko's notebook.

Help Mirko by reconstructing the equation from the three integers.

Input

The first line of input contains three integers less than $100$, separated by spaces.

Note: The input data will guarantee that a solution, although not necessarily unique, will always exist.

Output

On a single line, output a valid equation containing the three integers (in the same order), an equals sign and one of the four operations. If there are multiple solutions, output any of them.

Example 1

Input
5 3 8
Output
5+3=8

Example 2

Input
5 15 3
Output
5=15/3
Source
COCI 2007/2008 Contest 5
Appears in
Not part of a ladder, contest or set yet.
Accepted 1 Submissions 1 Acceptance 100% Solvers 1

Discussion

Threads about this problem. Spoilers are collapsed; wrap hints in ||double bars||.

No discussion yet. Start a thread if something here needs explaining.

Recent submissions Open with filters
Code