Oxygen atomic weight: [15,99903;15,99977] Hydrogen atomic weight: [1,00784;1,00811] The ratio of the weights is 16. Data from a "IUPAC Technical Report", 2009.
Mass of atoms depends upon their element. An atom of hydrogen has different mass and an atom of Oxygen has different mass. So, Please mention the element