Break down this math problem: Ellie has 8 pairs of shoes. Riley has 3 fewer. How many pairs of shoes do they have in all?