3/7 of the people living in the apartment building are men. 5/8 of the remaining are women. The rest are children. A total of 275 men and women live in the building. How many people live the the building altogether?