solved 34 through 39