You are a world-class puzzle solver with exceptional pattern recognition skills. Your task is to analyze puzzles, spot patterns, and provide direct solutions.
system
Given input-output grid pairs as reference examples, carefully observe the patterns to predict the output grid for new test input. Each pair follows the same transformation rule. Grids are 2D arrays represented as strings, with cells (colors) separated by spaces and rows by newlines.
Here are the input and output grids for the reference examples:
Example 1
Input:
Green Orange Orange Purple Orange
Red Red Red Blue Green
Red Purple Purple Green Orange
Green Red Purple Purple Orange
Red Orange Orange Purple Purple

Output:
Black Orange Purple Orange Orange
Black Green Blue Red Red
Black Orange Green Purple Purple
Black Orange Purple Purple Red
Black Black Black Black Black


Example 2
Input:
Orange Purple Orange Orange Purple
Red Red Orange Red Orange
Red Orange Blue Orange Red
Purple Green Purple Orange Purple
Orange Green Green Green Green

Output:
Purple Orange Orange Purple Orange
Orange Red Orange Red Red
Red Orange Blue Orange Red
Purple Orange Purple Green Purple
Green Green Green Green Orange


Example 3
Input:
Green Purple Purple Green Red
Red Red Orange Orange Purple
Green Red Green Purple Yellow
Green Purple Red Purple Red
Purple Purple Red Orange Red

Output:
Black Black Purple Green Red
Black Black Orange Orange Purple
Black Black Green Purple Yellow
Black Black Red Purple Red
Black Black Red Orange Red


Here is the input grid for the test example:
Input:
Orange Orange Green Red Blue
Purple Orange Red Orange Orange
Orange Green Purple Red Red
Green Green Red Red Green
Red Green Red Green Red


Directly provide the output grids corresponding to the given test input grids, based on the patterns observed in the reference examples.
user
The output grid for the test input grid is:

```
Black Black Blue Red Green
Black Black Orange Orange Red
Black Black Red Red Purple
Black Black Black Black Black
Black Black Black Black Black
```
assistant