A class has 50 students. 13 are juniors, 20 are psych majors, and 24 are neither psych majors nor juniors. How many psych majors are juniors?