$a = x + x*y + x*y*z + y*z + x^2 + x^2*y + 2;

extract $a x,y;
print $a;