Riley has 3 fewer pairs of shoes than Ellie’s 8, so 8 – 3 = <<8-3=5>>5 pairs of shoes.
Together, they have Ellie’s 8 + Riley’s 5 = <<8+5=13>>13 pairs of shoes.
#### 13