結果 : write three functions of leaf