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