This is a exercise of NLP programing at http://www.cl.ecei.tohoku.ac.jp/index.php?NLP%20100%20Drill%20Exercises