a pre-algebra class containing 31 students, there are 18 freshmen, 10 sophomores, and 3 juniors.  What fraction of the class is sophomores?
Your answer must be in simplest form.