To find out how many boys chose soccer or football as their favorite sport, we can look at the numbers in the boys' row of the table:
- Boys who chose soccer: 54
- Boys who chose football: 71
Now, we can add these two numbers together:
\[ 54 + 71 = 125 \]
Therefore, the number of boys who chose soccer or football as their favorite sport is 125.