As shown in the diagram $\angle BAC=90^\circ$. Let $X$ be the foot of the altitude from $A$ to $\overline {BC}$, $\overline{AY}$ be the bisector of $\angle BAC$, and $\overline{AZ}$ be the median of $\triangle ABC$. If $\angle BAY = 16^\circ$, then what is the measure of $\angle ZAC$ in degrees?