Problem21 complete