solved problem 48 and 56