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

Output:
Brown Black Yellow Red Black Purple Black Black Brown Black Black Orange Black
Black Black Black Pink Black Gray Black Yellow Black Black Black Red Black
Black Black Pink Pink Pink Pink Pink Pink Pink Pink Pink Pink Pink
Purple Black Blue Black Black Red Red Black Black Yellow Brown Black Green
Black Black Orange Black Black Purple Gray Black Purple Black Black Black Brown
Pink Black Yellow Green Purple Red Pink Orange Green Black Gray Green Black
Black Black Black Black Black Green Black Pink Pink Pink Pink Black Black
Black Black Gray Green Black Yellow Pink Pink Pink Pink Pink Pink Pink


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

Output:
Black Green Black Orange Brown Green Black Black Black Yellow Yellow Black
Black Black Black Black Black Green Pink Pink Pink Pink Pink Pink
Pink Black Purple Gray Black Black Black Red Black Purple Black Black
Purple Black Black Red Black Black Black Pink Pink Pink Pink Pink
Black Black Black Orange Red Brown Black Orange Purple Gray Black Black
Black Black Purple Purple Brown Pink Black Pink Black Gray Black Brown
Black Black Black Pink Black Brown Purple Red Green Black Black Black


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

Output:
Black Black Black Pink Pink Pink Pink Pink Black Black Black Pink Black Black
Gray Black Black Black Red Black Black Pink Pink Pink Pink Black Black Black
Pink Black Black Black Black Black Black Black Red Pink Black Black Black Blue
Black Black Brown Green Black Red Brown Black Black Black Black Black Yellow Gray
Blue Black Red Black Black Black Pink Pink Pink Pink Pink Black Black Black
Black Brown Yellow Brown Pink Gray Black Black Black Yellow Blue Gray Pink Purple
Brown Pink Black Gray Gray Green Purple Black Black Pink Black Green Green Blue


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


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:

```
Red Red Brown Black Black Black Green Black Red Pink Pink Pink Pink Pink
Yellow Black Black Black Brown Green Black Black Black Black Red Brown Black Black
Brown Brown Black Black Red Yellow Purple Black Black Black Yellow Black Black Brown
Black Black Black Gray Black Blue Black Black Blue Pink Orange Blue Purple Orange
Purple Black Black Black Orange Green Brown Blue Green Black Black Purple Purple Orange
Purple Orange Blue Black Yellow Black Black Yellow Orange Brown Black Pink Green Black
Black Yellow Pink Black Black Red Orange Black Black Black Gray Purple Pink Black
Green Orange Black Black Black Black Purple Black Black Blue Purple Black Gray Orange
Blue Black Blue Black Black Purple Pink Pink Pink Pink Pink Pink Pink Pink
```
assistant