solved prob24