Solve 148A ans 160A problems.