Enter tree nodes , -1 to finish ,--brown ,--red ,--brown --red | ,--yellow | | `--brown `--red `--yellow `--brown This tree has 3 leaves.