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:
|   Unnamed: 0 | amount ( in thousands )   |
|-------------:|:--------------------------|
|         2018 | $ 760000                  |
|         2019 | $ 857679                  |
|         2020 | $ 898500                  |
|         2021 | $ 960764                  |
|         2022 | $ 1304431                 |

Question:
what was the sum of the annual long-term debt maturities outstanding as of december 31 , 2017 , for the next five years


pre_text: ( a ) consists of pollution control revenue bonds and environmental revenue bonds , some of which are secured by collateral mortgage bonds .
( b ) pursuant to the nuclear waste policy act of 1982 , entergy 2019s nuclear owner/licensee subsidiaries have contracts with the doe for spent nuclear fuel disposal service . a0 a0the contracts include a one-time fee for generation prior to april 7 , 1983 . a0 a0entergy arkansas is the only entergy company that generated electric power with nuclear fuel prior to that date and includes the one-time fee , plus accrued interest , in long-term debt .
( c ) see note 10 to the financial statements for further discussion of the waterford 3 lease obligation and entergy louisiana 2019s acquisition of the equity participant 2019s beneficial interest in the waterford 3 leased assets and for further discussion of the grand gulf lease obligation .
( d ) this note did not have a stated interest rate , but had an implicit interest rate of 7.458% ( 7.458 % ) .
( e ) the fair value excludes lease obligations of $ 34 million at system energy and long-term doe obligations of $ 183 million at entergy arkansas , and includes debt due within one year . a0 a0fair values are classified as level 2 in the fair value hierarchy discussed in note 15 to the financial statements and are based on prices derived from inputs such as benchmark yields and reported trades .
the annual long-term debt maturities ( excluding lease obligations and long-term doe obligations ) for debt outstanding as of december a031 , 2017 , for the next five years are as follows : amount ( in thousands ) .
post_text: in november 2000 , entergy 2019s non-utility nuclear business purchased the fitzpatrick and indian point 3 power plants in a seller-financed transaction .
as part of the purchase agreement with nypa , entergy recorded a liability representing the net present value of the payments entergy would be liable to nypa for each year that the fitzpatrick and indian point 3 power plants would run beyond their respective original nrc license expiration date .
in october 2015 , entergy announced a planned shutdown of fitzpatrick at the end of its fuel cycle .
as a result of the announcement , entergy reduced this liability by $ 26.4 million pursuant to the terms of the purchase agreement .
in august 2016 , entergy entered into a trust transfer agreement with nypa to transfer the decommissioning trust funds and decommissioning liabilities for the indian point 3 and fitzpatrick plants to entergy .
as part of the trust transfer agreement , the original decommissioning agreements were amended , and the entergy subsidiaries 2019 obligation to make additional license extension payments to nypa was eliminated .
in the third quarter 2016 , entergy removed the note payable of $ 35.1 million from the consolidated balance sheet .
entergy louisiana , entergy mississippi , entergy new orleans , entergy texas , and system energy have obtained long-term financing authorizations from the ferc that extend through october 2019 . a0 a0entergy arkansas has obtained long-term financing authorization from the apsc that extends through december 2018 .
entergy new orleans has also obtained long-term financing authorization from the city council that extends through june 2018 , as the city council has concurrent jurisdiction with the ferc over such issuances .
capital funds agreement pursuant to an agreement with certain creditors , entergy corporation has agreed to supply system energy with sufficient capital to : 2022 maintain system energy 2019s equity capital at a minimum of 35% ( 35 % ) of its total capitalization ( excluding short- term debt ) ; entergy corporation and subsidiaries notes to financial statements .
label: 4781374
qa: answer: 4781374
ann_table_rows: 1
2
3
4
5
steps: op: add1-1
arg1: 760000
arg2: 857679
res: 1617679
op: add1-2
arg1: #0
arg2: 898500
res: 2516179
op: add1-3
arg1: #1
arg2: 960764
res: 3476943
op: add1-4
arg1: #2
arg2: 1304431
res: 4781374
program: add(760000, 857679), add(#0, 898500), add(#1, 960764), add(#2, 1304431)
gold_inds: table_1: the 2018 of amount ( in thousands ) is $ 760000 ;
table_2: the 2019 of amount ( in thousands ) is $ 857679 ;
table_3: the 2020 of amount ( in thousands ) is $ 898500 ;
table_4: the 2021 of amount ( in thousands ) is $ 960764 ;
table_5: the 2022 of amount ( in thousands ) is $ 1304431 ;
exe_ans: 4781374
program_re: add(add(add(add(760000, 857679), 898500), 960764), 1304431)
model_input: table_1
the 2018 of amount ( in thousands ) is $ 760000 ;
table_2
the 2019 of amount ( in thousands ) is $ 857679 ;
table_4
the 2021 of amount ( in thousands ) is $ 960764 ;