Problem 35 solved