The average (mean) of 10 numbers is 40, and the average of 40 other numbers is 10. What is the average of all 50 numbers?
15
16
18
20
25