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:
Blue Orange Brown Brown Purple
Pink Brown Green Purple Orange
Gray Orange Yellow Gray Pink
Purple Gray Green Pink Yellow
Orange Orange Orange Orange Pink

Output:
Black Black Black Black Black
Black Black Green Black Black
Black Green Green Green Black
Black Black Green Black Black
Black Black Black Black Black


Example 2
Input:
Purple Brown Orange Green Pink
Brown Gray Brown Pink Orange
Pink Brown Green Blue Yellow
Orange Brown Blue Gray Blue
Blue Purple Purple Red Red

Output:
Black Black Black Black Black
Black Black Green Black Black
Black Green Green Green Black
Black Black Green Black Black
Black Black Black Black Black


Example 3
Input:
Purple Blue Pink Red Orange
Blue Purple Orange Green Gray
Blue Yellow Green Blue Brown
Brown Orange Gray Orange Yellow
Green Green Pink Purple Yellow

Output:
Black Black Black Black Black
Black Black Green Black Black
Black Green Green Green Black
Black Black Green Black Black
Black Black Black Black Black


Here is the input grid for the test example:
Input:
Pink Brown Gray Brown Gray
Purple Brown Pink Gray Pink
Brown Orange Gray Brown Gray
Yellow Pink Gray Blue Green
Blue Pink Pink Pink Pink


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 Black Black Black
Black Black Green Black Black
Black Green Green Green Black
Black Black Green Black Black
Black Black Black Black Black
```
assistant