There were 39 freshmen at a certain school, out of those freshmen,
15 played basketball,
17 played volleyball,
16 played soccer,
5 played basketball and volleyball,
7 played basketball and soccer,
5 played volleyball and soccer,
and 4 played volleyball, basketball, and soccer.
How many played one or more of the three sports?