Solve problem 108