--

I'd probably have two classes Game(id, List<Set>) Set(red, blue, green) and create them based on parsing the string. Then we can query and process based on that info. Also Parser would be just creating these classes based on input.

And then you can easily satisfy any Elf request.

--

--