Andrew picked vegetables from his garden and put them into bags. He put 10 carrots into each of 3 bags, 8 tomatoes into each of 4 bags, and 6 turnips into each of 5 bags. How many vegetables did he pick in all?