solution to problem 44