(<class '__main__.K1'>, <class '__main__.A'>, <class '__main__.B'>, <class '__main__.C'>, <class '__main__.O'>, <type 'object'>)
(<class '__main__.K2'>, <class '__main__.D'>, <class '__main__.B'>, <class '__main__.E'>, <class '__main__.O'>, <type 'object'>)
(<class '__main__.K3'>, <class '__main__.D'>, <class '__main__.A'>, <class '__main__.O'>, <type 'object'>)
(<class '__main__.Z'>, <class '__main__.K1'>, <class '__main__.K2'>, <class '__main__.K3'>, <class '__main__.D'>, <class '__main__.A'>, <class '__main__.B'>, <class '__main__.C'>, <class '__main__.E'>, <class '__main__.O'>, <type 'object'>)
