Write the chemical formula and hence balance the following word equation:
Magnesium+(V.dil.)Nitricacid→MagnesiumNitrate+Hydrogen