Definition: The task is to generate the correct answer for a given math problem.
Input: Problem: if each participant of a chess tournament plays exactly one game with each of the remaining participants , then 276 games will be played during the tournament . find the number of participants .
Output:
24