while True:
try:
info = input()
def compute(info,type):
information=list(info.split(type))
a,b=float(information[0]),float(information[-1])
if type=='+':
result='{:.4f}+{:.4f}={:.4f}'.format(a,b,a+b)
elif type=='-':
result='{:.4f}-{:.4f}={:.4f}'.format(a,b,a-b)
elif type=='*':
result='{:.4f}*{:.4f}={:.4f}'.format(a,b,a*b)
elif type=='/':
if b==0:
result='Wrong!Division by zero!'
else:
result='{:.4f}/{:.4f}={:.4f}'.format(a,b,a/b)
return result
if '+' in info:
print(compute(info,'+'))
elif '-' in info:
print(compute(info,'-'))
elif '*' in info:
print(compute(info,'*'))
elif '/' in info:
print(compute(info,'/'))
else:
print('Invalid operation!')
except:
break