Solves problem #16.