problem 604 done