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