An element $Y$ undergoes the following sequence of reactions: $Y$ burns in $\text{O}_2$ and forms a white solid. This white solid reacts with $\text{HCl(aq)}$ to produce a solution. When $\text{NaOH(aq)}$ is added, a white precipitate is formed, and this precipitate dissolves in excess $\text{NaOH(aq)}$ to give a solution. Which element could $Y$ be?
- AAl
- BCa
- CMg
- DP