There are 22 more sophomores than juniors in cooking class. If there are 48 students
total in this class, find the number of sophomores and juniors in cooking class,