stack and tree

Print