problem 41 to 43 solved