結果 : write three function of leaves