Slice s down to the entries whose first-level label is 'A' or 'B' (i.e. up
to and including 'B') and whose second-level label is 5 or greater.
Sample data:
s:
A 0 0
1 1
2 2
3 3
4 4
5 5
... (30 rows total)
Sign in to write and run your own code.
solve(...)