Implement the simple solution.