The relative atomic mass is the average mass of one of the atoms and has to take into account the relative abundances of the various isotopes.
Natural chlorine always contains about {3\over4}\times_{17}Cl^{35} and {1\over4} \times_{17}Cl^{37}
Therefore, relative atomic mass of chlorine ={3\over4}\times35 + {1\over4}\times 37
=35.5 u