Fix Problem 19's solution