Task: Table-QA (source dataset: FinQA)

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:
| in millions of dollars          | 2018   | 2017   | 2016   |
|:--------------------------------|:-------|:-------|:-------|
| interest rate risks ( 1 )       | $ 5186 | $ 5301 | $ 4229 |
| foreign exchange risks ( 2 )    | 1423   | 2435   | 1699   |
| equity risks ( 3 )              | 1346   | 525    | 330    |
| commodity and other risks ( 4 ) | 662    | 425    | 899    |
| credit products and risks ( 5 ) | 445    | 789    | 700    |
| total                           | $ 9062 | $ 9475 | $ 7857 |

Question:
what percentage of total principal transactions revenue in 2018 was do to interest rate risks?


pre_text: 6 .
principal transactions citi 2019s principal transactions revenue consists of realized and unrealized gains and losses from trading activities .
trading activities include revenues from fixed income , equities , credit and commodities products and foreign exchange transactions that are managed on a portfolio basis characterized by primary risk .
not included in the table below is the impact of net interest revenue related to trading activities , which is an integral part of trading activities 2019 profitability .
for additional information regarding principal transactions revenue , see note a04 to the consolidated financial statements for information about net interest revenue related to trading activities .
principal transactions include cva ( credit valuation adjustments on derivatives ) and fva ( funding valuation adjustments ) on over-the-counter derivatives .
these adjustments are discussed further in note 24 to the consolidated financial statements .
the following table presents principal transactions revenue: .
post_text: ( 1 ) includes revenues from government securities and corporate debt , municipal securities , mortgage securities and other debt instruments .
also includes spot and forward trading of currencies and exchange-traded and over-the-counter ( otc ) currency options , options on fixed income securities , interest rate swaps , currency swaps , swap options , caps and floors , financial futures , otc options and forward contracts on fixed income securities .
( 2 ) includes revenues from foreign exchange spot , forward , option and swap contracts , as well as foreign currency translation ( fx translation ) gains and losses .
( 3 ) includes revenues from common , preferred and convertible preferred stock , convertible corporate debt , equity-linked notes and exchange-traded and otc equity options and warrants .
( 4 ) primarily includes revenues from crude oil , refined oil products , natural gas and other commodities trades .
( 5 ) includes revenues from structured credit products. .
label: 0.57228
qa: answer: 57%
ann_table_rows: 1
6
steps: op: divide2-1
arg1: 5186
arg2: 9062
res: 57%
program: divide(5186, 9062)
gold_inds: table_1: in millions of dollars the interest rate risks ( 1 ) of 2018 is $ 5186 ; the interest rate risks ( 1 ) of 2017 is $ 5301 ; the interest rate risks ( 1 ) of 2016 is $ 4229 ;
table_6: in millions of dollars the total of 2018 is $ 9062 ; the total of 2017 is $ 9475 ; the total of 2016 is $ 7857 ;
exe_ans: 0.57228
tfidftopn: text_7: the following table presents principal transactions revenue: .
program_re: divide(5186, 9062)
model_input: table_1
in millions of dollars the interest rate risks ( 1 ) of 2018 is $ 5186 ; the interest rate risks ( 1 ) of 2017 is $ 5301 ; the interest rate risks ( 1 ) of 2016 is $ 4229 ;
table_6
in millions of dollars the total of 2018 is $ 9062 ; the total of 2017 is $ 9475 ; the total of 2016 is $ 7857 ;
text_13
( 5 ) includes revenues from structured credit products. .