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

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


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

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


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

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


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

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