solved prob 27