結果 : write an algorithm on decoding stating examples