$1 \mathrm{~L}, 0.02 \mathrm{M}$ solution of $\left[\mathrm{Co}\left(\mathrm{NH}_3\right)_5 \mathrm{SO}_4\right] \mathrm{Br}$ is mixed with $1 \mathrm{~L}, 0.02 \mathrm{M}$ solution of $\left[\mathrm{Co}\left(\mathrm{NH}_3\right)_5 \mathrm{Br}\right] \mathrm{SO}_4$. The resulting solution is divided into two equal parts $(X)$ and treated with excess $\mathrm{AgNO}_3$ solution and $\mathrm{BaCl}_2$ solution respectively as shown below:
1 L Solution $(\mathrm{X})+\mathrm{AgNO}_3$ solution (excess) $\rightarrow \mathrm{Y}$
1 L Solution $(\mathrm{X})+\mathrm{BaCl}_2$ solution (excess) $\rightarrow \mathrm{Z}$
The number of moles of $Y$ and $Z$ respectively are