結果 : write three main function of leaf