This is one of many excellent problems from Problems for Kids.
Copyright by Howard C. McAllister, 1997