triplets solved