A nursery plants 6 rows containing 24 pine trees each. It plants 3 rows containing 32 pine trees each. How many pine trees does the nursery plant in all?