___INPUT(set of triplets)____ b c a a c d d e b