164. Five brigades consist of 5670, 6615, 3240, 2730, and 2772 people respectively. After converting all fractions to a common denominator (12012), the numerators will be 4004, 3432, 7007, 8316, and 8190 respectively. By combining all the different divisors contained in these numbers, we get 7567560, which when divided by each of the numbers will give 1890, 2205, 1080, 910, and 924 respectively. Since the problem states that the combined force consists of "slightly more than 20,000 people," we multiply the obtained numbers by 3, which gives the correct total number of 21027 people.
164. Army formation. An army formation, consisting of a little more than 20 thousand people, includes 5 brigades. It is known that $\frac{1}{3}$ of the first brigade, $\frac{2}{7}$ of the second, $\frac{7}{12}$ of the third, $\frac{9}{13}$ of the fourth, and $\frac{15}{22}$ of the fifth brigade have equal numbers.

How many people are in each brigade?