Simple cases working for Day 12. Complex cases are hard.