Merge 2 of them to one object, and print 2 of those pairs.
Why do you actually print those by object?