solve exercise 36.03