Numbers 31:40-50

40 Of the 16,000 people they received, 32 went to the LORD as taxes.
41 Moses gave the LORD's taxes to the priest Eleazar, as the LORD had commanded him.
42 Moses took the Israelites' half of the loot from the soldiers.
43 The community received 337,500 sheep and goats,
44 36,000 cattle,
45 30,500 donkeys,
46 and 16,000 people.
47 From the Israelites' half Moses collected one out of every 50 things, including people and animals, as the LORD commanded him. Then he gave all this to the Levites who were in charge of the work done at the LORD's tent.
48 Then the officers from the military divisions, the commanders of the companies and battalions of men, came to Moses.
49 They said to him, "Sir, we have counted all the soldiers under our command, and not one of them is missing.
50 So we have brought as gifts to the LORD the gold jewelry that each of us found--arm bands, bracelets, signet rings, earrings, and pendants. We offer them to make peace with the LORD."