Solve problem#26