For some reason, I cannot see the other two answers posted to this question.
If 20 do not like math or science, that leaves 30 people
18 like math 15 like science this is greater than 30 , so there is a 3 person overlap
so
A) 15 Like MATH ONLY (18 - 3 overlap=15)
B) 3 (the overlap) Like MATH and SCIENCE
C) 50 - 20 ( 20 who do not like math OR science) leaves 30 who DO like math OR science