A compound X does not give N2 on heating. Its aqueous solution when heated with caustic soda liberate a gas Y which turns red litmus blue. Heating of alkaline solution of X is continued to expell the gas Y completely. However residual solution again liberates the gas Y when heated with zinc powder. If X=NHxNOy and Y=NHz. Determine the value of x ,y and z.