solved problem 74