Your goal is to find the secret four-color code. The following colors are possible: red, pink, brown, green, yellow, purple.
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: ['green', 'yellow', 'pink', 'brown']. Hint: two colors are in the secret code but in the wrong positions.
Guess: ['red', 'red', 'green', 'yellow']. Hint: two colors are in the correct positions.
Guess: ['red', 'purple', 'brown', 'yellow']. Hint: two colors are in the correct positions.
Guess: ['yellow', 'purple', 'green', 'yellow']. Hint: two colors are in the correct positions.
A B C D
yellow, green, yellow, red red, purple, green, pink purple, yellow, brown, yellow brown, purple, yellow, purple