At a parade, there are m women and 3 times as many men as women. There are 6,352 fewer children than men. Find the number of men and the number of children respectively in terms of m. If m = 7,145 how many people are at the parade?