Which equation has both a liquid and a gas as products?

A. 2HgO(s)->2Hg(I)+O2(g)
B. 2Mg(s)+O2(g)->2MgO(s)
C. 2KCIO3(s)->2KCI(s)+3O2(g)
D. Mg(s)+2HCI(aq)->H2(g)+MgCI2(aq)