If Sarah is ranked 8th from the top and 22nd from the bottom in a group, how many people are in the group?

C. 31