num1 = int(input())num2 = int(input())num3 = int(input())
total = num1 + num2 + num3
print(f"{num1}+{num2}+{num3}={total}")
num1 = int(input())
num2 = int(input())
num3 = int(input())
total = num1 + num2 + num3
print(f"{num1}+{num2}+{num3}={total}")