The radius of the path in a magnetic field is given by:
\[
r = \frac{mv}{qB}
\]
where \( m \) is the mass, \( v \) is the velocity, \( q \) is the charge, and \( B \) is the magnetic field strength. Since both isotopes move with the same velocity and charge, the ratio of their masses can be derived from the ratio of their radii:
\[
\frac{r_X}{r_Y} = \frac{m_X}{m_Y}
\]
Substituting the given values:
\[
\frac{3.43}{3.35} = \frac{m_X}{m_Y}
\]
which simplifies to:
\[
\frac{m_Y}{m_X} = 1.02
\]