solved till 8th problem