Problem 022 solution.
Problem 023 solution.