結果 : solve the problems given in example 1 answer