Chemistry Examples

Balance Mg+O_2=MgO_2 , wht is the atomic mass of O_2
I am unable to solve this problem.