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:
Yellow Yellow Red Green Green Green Green Red Yellow Yellow
Blue Red Brown Green Green Green Green Brown Red Blue
Blue Green Brown Green Yellow Yellow Green Brown Green Blue
Brown Blue Brown Red Red Red Red Brown Blue Brown
Blue Brown Yellow Brown Red Red Brown Yellow Brown Blue
Red Green Blue Green Green Green Green Blue Green Red

Output:
Yellow Yellow Yellow Green Green Green Green Red Yellow Yellow
Green Yellow Brown Green Green Green Green Brown Red Blue
Green Green Brown Green Yellow Yellow Green Brown Green Blue
Brown Green Brown Yellow Yellow Red Red Brown Blue Brown
Green Brown Yellow Brown Yellow Red Brown Yellow Brown Blue
Yellow Green Green Green Green Green Green Blue Green Red


Example 2
Input:
Green Green Yellow Blue Yellow Yellow Blue Yellow Green Green
Green Red Green Blue Brown Brown Blue Green Red Green
Red Brown Red Blue Red Red Blue Red Brown Red
Blue Brown Blue Brown Blue Blue Brown Blue Brown Blue
Green Brown Blue Yellow Yellow Yellow Yellow Blue Brown Green
Blue Blue Blue Green Green Green Green Blue Blue Blue

Output:
Green Green Yellow Green Yellow Yellow Blue Yellow Green Green
Green Yellow Green Green Brown Brown Blue Green Red Green
Yellow Brown Yellow Green Yellow Red Blue Red Brown Red
Green Brown Green Brown Green Blue Brown Blue Brown Blue
Green Brown Green Yellow Yellow Yellow Yellow Blue Brown Green
Green Green Green Green Green Green Green Blue Blue Blue


Example 3
Input:
Green Brown Blue Yellow Yellow Yellow Yellow Blue Brown Green
Green Red Red Brown Green Green Brown Red Red Green
Blue Brown Red Red Blue Blue Red Red Brown Blue
Yellow Green Green Brown Green Green Brown Green Green Yellow
Blue Blue Blue Green Yellow Yellow Green Blue Blue Blue
Brown Red Yellow Yellow Red Red Yellow Yellow Red Brown

Output:
Green Brown Green Yellow Yellow Yellow Yellow Blue Brown Green
Green Yellow Yellow Brown Green Green Brown Red Red Green
Green Brown Yellow Yellow Green Blue Red Red Brown Blue
Yellow Green Green Brown Green Green Brown Green Green Yellow
Green Green Green Green Yellow Yellow Green Blue Blue Blue
Brown Yellow Yellow Yellow Yellow Red Yellow Yellow Red Brown


Here is the input grid for the test example:
Input:
Brown Brown Brown Red Brown Brown Red Brown Brown Brown
Green Blue Brown Yellow Green Green Yellow Brown Blue Green
Blue Blue Brown Brown Blue Blue Brown Brown Blue Blue
Yellow Blue Blue Green Yellow Yellow Green Blue Blue Yellow
Blue Red Yellow Brown Blue Blue Brown Yellow Red Blue
Red Brown Red Red Blue Blue Red Red Brown 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:

```
Brown Brown Brown Yellow Brown Brown Red Brown Brown Brown
Green Green Brown Yellow Green Green Yellow Brown Blue Green
Green Green Brown Brown Green Blue Brown Brown Blue Blue
Yellow Green Green Green Yellow Yellow Green Blue Blue Yellow
Green Yellow Yellow Brown Green Blue Brown Yellow Red Blue
Yellow Brown Yellow Yellow Green Blue Red Red Brown Red
```
assistant