sys := {22 + x + y = 40, 78 + 5*y + z = 151, x + z = y}: solve(sys, {x,y,z});