测评会员优惠活动进行中 · 开通 VIP,有效期内测评不限次 VIP 优惠中 · 测评不限次 立即查看

A1130. [COCI-2007_2008-contest5]#6 TRI

编程题 省选/NOI-

题目描述

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.

输入格式

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.

输出格式

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.

输入输出样例

输入 #1
5 3 8
输出 #1
5+3=8
输入 #2
5 15 3
输出 #2
5=15/3
上一题 去做题 下一题