Suppose a list contains {red, red, red, red}. What is the list after the following code?
String element = "red";
for (int i = list.size() - 1; i >= 0; i--)
if (list.get(i).equals(element))
list.remove(element);
A. [red]
B. [red, red, red]
C. [red, red]
D. []