結果 : write list then eliminate algorithm