- If it is not possible to partition the input multiset into triplets which satisfy the constraints, then the output should have a single line containing the word NO 
- If it is possible to partition the input multiset into triplets, then the output should have multiple lines, each line representing one triplet of the partition, lines should have space separated integers to represent the triplets
