solved prob12