Definition: The task is to generate the correct answer for a given math problem.
Input: Problem: a certain high school has 500 students . of these students , 50 are taking music , 20 are taking art , and 10 are taking both music and art . how many students are taking neither music nor art ?
