If the equations x+3y−4z=ax; x−3y+5z=ay; 3x+y=az have a non-trivial solution then the values of a are