結果 : write two uses of buffer solution