Match-3 Memory

Find all triples