Solution to 99.
Solution to 76.