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

Output:
Green Green Green Green Purple
Green Green Purple Green Purple
Green Purple Green Purple Purple
Green Green Purple Purple Purple
Purple Purple Purple Purple Purple


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

Output:
Purple Green Purple Green Green
Green Purple Purple Purple Purple
Purple Purple Purple Purple Purple
Green Purple Purple Purple Purple
Green Purple Purple Purple Purple


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

Output:
Purple Green Purple Green Purple
Green Green Purple Green Green
Purple Purple Purple Purple Green
Green Green Purple Purple Green
Purple Green Green Green Purple


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