I think that the butler did it... oh wait, wrong puzzle!

This reminds me of some puzzles I used to do when I was younger. I think that you can arrange a "sort of" 2D grid for all the possibilities, and after that it's simply perseverence. Uh, if that didn't make any sense to anyone, at least I know what I mean!