Problem 20th is similar to 16th