Cool! Since you went the route of shuffling first, you could just do
```
cat_array.slice(-i..-1)
```