Identify (X) to (Z) in the following sequence of reactions -
CaO+C2000∘C−−−−→(X)+(Y) 1100∘C↓+N2 (z)hydrolysis−−−−−−→(P)gas
(X)≡CaC2(Y)≡CO(Z)≡CaCN2(P)≡NH3
X = CaC2 , heating calcium carbide with N2 gives calcium cyanamide (CaCN2), which in turn liberates NH3 on hydrolysis