A Corgi is a short-legged dog represented by a dataclass with the fields:

A Tree is an empty dataclass, and the instance EMPTY represents an empty tree.

A FamilyTree is a dataclass inheriting from Tree that represents the known lineage of a Corgi, with the fields:

The function stack_yellow_corgis below is meant to calculate the total height of the yellow Corgis in a lineage. Fill in the blanks inside the function definition to complete the code.