Code for problem 43C.
Code for problem 45C.
WA on test #8.
Code for problem 47D.
Code for problem 34C.