Definition: The task is to generate the correct answer for a given math problem.
Input: Problem: in a class , 10 students like to play basketball and 8 like to play cricket . 4 students like to play on both basketball and cricket . how many students like to play basketball or cricket or both ?
