The task is to generate the correct answer for a given math problem.
Q: Problem: out of 40 applicants to a law school , 15 majored in political science , 20 had a grade point average higher than 3.0 , and 10 did not major in political science and had a gpa equal to or lower than 3.0 . how many e applicants majored in political science and had a gpa higher than 3.0 ?
A:
5