a = int(input())
b = int(input())

result1 = a + b
result2 = a - b
result3 = a * b
result4 = a / b

print("a","+","b","=",result1)
print("a","-","b","=",result2)
print("a","*","b","=",result3)
print("a","/","b","=",result4)