You are given three grids, where each of them is 5 by 5 in size.
Grids have empty cells marked with "▢" and filled cells marked with "X".
You are also given a referring expression that describes one of the given grids.
Your task is to select the grid that matches the given referring expression.
Generate only the number (in text) of the grid that matches the given expression by selecting first, second, or third.

First:

X ▢ ▢ ▢ X
X X ▢ X X
X ▢ X ▢ X
X ▢ ▢ ▢ X
X ▢ ▢ ▢ X

Second:

X ▢ ▢ ▢ X
X X ▢ ▢ X
X ▢ X ▢ X
X ▢ ▢ X X
X ▢ ▢ ▢ X

Third:

X ▢ ▢ ▢ X
X ▢ ▢ ▢ X
X X X X X
X ▢ ▢ ▢ X
X ▢ ▢ ▢ X

Expression: The grid with horizontal lines of filled cells in the first and last rows, and a zigzag pattern in the middle row.
Question: Which grid does the expression refer to?
Start with the tag "Answer: ", followed by your selection. Omit any other text.

Answer: Second

Explanation:

The first grid has horizontal lines of filled cells in the first and last rows, but it does not have a zigzag pattern in the middle row.

The second grid has horizontal lines of filled cells in the first and last rows, and it also has a zigzag pattern in the middle row (X ▢ X ▢).

The third grid has horizontal lines of filled cells in the
assistant
Answer: Second

Explanation:

The first grid has horizontal lines of filled cells in the first and last rows, but it does not have a zigzag pattern in the middle row.

The second grid has horizontal lines of filled cells in the first and last rows, and it also has a zigzag pattern in the middle row (X ▢ X ▢).

The third grid has horizontal lines of filled cells in the
assistant