Solve upto Problem 10