chapter05 MoreSum