>>719
(1)S(x,y,z)=x-y+z

(2)S(x,y,z,w)=x-y+z+w