In a tournament, each of the participants was to play one match against each of the other participants. Three players fell ill after each of them had played three matches and had to leave the tournament. What was the total number of participants at the beginning, if the total number of matches played was 75?