Solve problem 101