Task: Table-QA (source dataset: TableBench)

Task: 
You are given a table containing structured data and a natural language question referring to the table. Your goal is to analyze the table and provide an accurate and concise answer based on the given data.

Instructions:
1. Understand the Table: Examine the structure, headers, and data in the table. Identify relevant columns and rows related to the question.
2. Interpret the Question: Determine whether the question requires direct retrieval, aggregation, comparison, sorting, filtering, or inference.
3. Extract the Answer: Use logical reasoning and numerical operations (if necessary) to derive the correct response from the table.
4. Format the Answer: No explanation, return the answer in a structured JSON format: {"answer": <answer>}. If the question cannot be answered due to missing or ambiguous data, return a JSON response with {"answer": null}.

Table:
| ensemble                    |   gold medals |   silver medals |   bronze medals |   total medals |
|:----------------------------|--------------:|----------------:|----------------:|---------------:|
| amador valley hs            |             0 |               1 |               0 |              1 |
| ayala high school           |             4 |               2 |               1 |              7 |
| baldwinsville hs            |             2 |               0 |               0 |              2 |
| claremont hs                |             1 |               1 |               0 |              2 |
| downers grove hs            |             0 |               0 |               1 |              1 |
| father ryan hs              |             0 |               1 |               0 |              1 |
| fort mill hs                |             2 |               1 |               2 |              5 |
| franklin central hs         |             6 |               0 |               0 |              6 |
| gateway high school         |             2 |               1 |               1 |              4 |
| goshen hs                   |             0 |               2 |               1 |              3 |
| harrison central paragon hs |             0 |               0 |               1 |              1 |
| james logan high school     |             1 |               1 |               0 |              2 |
| john overton hs             |             0 |               1 |               2 |              3 |
| king philip high school     |             0 |               1 |               0 |              1 |
| mansfield hs                |             0 |               1 |               0 |              1 |
| mission viejo high school   |             0 |               1 |               0 |              1 |
| muscle shoals hs            |             1 |               1 |               2 |              4 |
| new philadelphia hs         |             0 |               1 |               0 |              1 |
| northglenn hs               |             0 |               0 |               1 |              1 |
| rangeview hs                |             0 |               1 |               0 |              1 |
| roland hayes school         |             0 |               0 |               1 |              1 |
| tarpon springs hs           |             0 |               1 |               0 |              1 |
| tunstall hs                 |             0 |               3 |               4 |              7 |
| warsaw community hs         |             0 |               0 |               1 |              1 |

Question:
Which high school has a higher total number of medals, Ayala High School or Franklin Central HS?


id: 7982e29a97a23d0882ec57e3f0ef5106
qtype: NumericalReasoning
label: Ayala High School