prob05 soln