Solve problem 11,Allen