A room contains 96 people. A man leaves and is replaced by a women, leaving three times as many women as men in the room. How many men and how many women are there originally?