In the following logic circuit, the values of $\mathrm{Y}_1, \mathrm{Y}_2$ and $\mathrm{Y}_3$ are respectively