Solve problem 168