Code for problem 77.
Code for problem 84.
Code for problem 85.
Code for problem 14.
Code for problem 17.