a, b, c = map(int input().split())
print ('%d + %d + %d = %d' % (a, b, c,
a+b+c))
print ('%d * %d * %d = %d' % (a, b, c, a*b*c))
print ('%d + %d + %d) / %d = %g' % (a, b, c,
3, (a+b+c)/3))
a, b, c = map(int input().split())
print ('%d + %d + %d = %d' % (a, b, c,
a+b+c))
print ('%d * %d * %d = %d' % (a, b, c, a*b*c))
print ('%d + %d + %d) / %d = %g' % (a, b, c,
3, (a+b+c)/3))