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

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


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

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


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

Output:
Green Green Green Green Blue Red Red Red Red
Green Green Green Green Blue Red Red Red Red
Red Red Red Red Green Red Red Red Red
Blue Blue Blue Blue Blue Blue Blue Brown Red
Blue Blue Blue Blue Blue Purple Purple Red Brown


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

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