Problem 27 solved