# The classic Mastermind

Logic Level 2

In the game Mastermind, I have to guess some permutation of five colors out of eight (being a permutation, all colors are different). I can submit a guess, and I receive a reply in the form of two numbers:

• The blue number tells the number of colors in my guess that exist in the secret pattern, which are also correct in position.
• The white number tells the number of colors in my guess that exist in the secret pattern, but which are incorrect in position.

When where there should be a number, it is empty instead, the number is assumed to be zero.

What is the secret pattern? Enter your answer in order from left to right, translating the color to a digit code according to this table:

 Color Green Blue Yellow White Code 1 2 3 4 Color Black Red Purple Orange Code 5 6 7 8

As an example, if the answer is orange-blue-yellow-white-black, enter $$82345$$.

×