Solution of 10th problem