import math
ans = []
for y in range(6,10+1):
l_b, u_b = math.ceil((2*y-5)/3),int((2*y -1)/3)
ans += ['z={0},y={1},x={2}'.format(z,y,2*y - 3*z) for z in range(l_b, u_b+1)]
print(ans)
for (let x = 1; x <= 5; x++)
for (let y = 6; y <= 10; y++) {
const z = (2 * y - x) / 3;
if (z >= 1 && z <= 7 && Number.isInteger(z))
console.log(`x=${x}, y=${y}, z=${z}`);
}