solved problem 36
solved problem 35