Triplet Diddle exercise

Modified