Code for problem 336C.