A tennis championship is played on a knock-out basis, i.e., a player is out of the tournament when he loses a match. How many matches are played in the tournament if 40 players totally participate?
20
39
40
19