problem 27 done