Problem 30 solution.
Problem 032 solution.