The table shows the amount of flour needed for several servings in a recipe. Based on this table, how many cups of flour are needed for 36 servings?
cups of flour
2 8
4 16
6 24
Group of answer choices

18

8

12

9