Exercise#20-22 from 11