Calculation of mass number for isotopic elements