The workers at a nursery plant 37 trees in each of 15 parks. They plant 42 trees in each of 23 parks.

How many trees do the workers plant in all?