solved prob22