Problem 30 solved