結果 : if statement with right function