tree
tree

Visual solution