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

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


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

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


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

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


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


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:

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