This time I added a special rule, please let me know what you think about it!
CHALLENGE: You have to guess which ones are wearing green hats and which ones are wearing black:
SPECIAL RULE: All the prisoners wearing black hats now have a special condition. They see black hats as green, and green ones as black. They are not aware of this condition.
DESCRIPTION: Each one can see the hats that are in front of them, and not their own. F is hiding behind a wall, and no one can see them. Pay attention to the order, they give tips one by one:
1- A sees 4 hats and can figure out their hat
2- B sees 2 green hats (they talk after A, but the order is not important here)
3- C sees 2 black hats (again the order is not important here)
4- F, after having listened to their three companions, still can't figure out what hat they're wearing
You don’t know how many green and black hats there are of each color (6 in total, all of them must be wearing one), but they do know how many hats there are of each color.
We already know F is wearing a black hat (F has the special condition, but they can't see anything, so it doesn't matter). You have to guess the other 5 hats! Of course, there is only one possible solution.
Good luck!