Your goal is to find the secret four-color code. The following colors are possible: yellow, red, green, purple, black, brown.
Some guesses have already been made. I will provide feedback for each guess made with which it is possible to unambigiously determine the secret code.

Previous Guesses:
Guess: ['yellow', 'red', 'brown', 'purple']. Hint: two colors are in the secret code but in the wrong positions.
Guess: ['red', 'green', 'green', 'brown']. Hint: one color is in the secret code but in the wrong position.
Guess: ['black', 'brown', 'black', 'red']. Hint: one color is in the correct position.
Guess: ['yellow', 'yellow', 'purple', 'green']. Hint: three colors are in the secret code but in the wrong positions.
A B C D
purple, brown, yellow, red yellow, red, yellow, green green, green, red, red green, purple, black, yellow