A compound formed by elements X, Y, Z . Atoms of Y forms ccp lattice and X occupies half the octahedral voids and Z occupies half the tetrahedral voids. Find the formula of the compound?