Every person in a certain group is either a Dodgers fan or a Yankees fan, but not both. The ratio of Yankees fans to Dodgers fans is 5 to 3. If 22 Yankees fans change teams to become Dodgers fans, the ratio of Dodgers fans to Yankees fans will be 1 to 1. How many people are in the group?