Implement solution 67.