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   | 2007 pretax total   | 2007 after-tax total   | 2006 pretax total   | 2006 after-tax total   |
|:-------------------------|:--------------------|:-----------------------|:--------------------|:-----------------------|
| global cards             | $ 466               | $ 296                  | $ 94                | $ 59                   |
| consumer banking         | 96                  | 59                     | 27                  | 18                     |
| icg                      | 19                  | 12                     | 2                   | 1                      |
| total                    | $ 581               | $ 367                  | $ 123               | $ 78                   |

Question:
what was the total after-tax gains in millions for the sale so mastercard shares from 2006 to 2007?


pre_text: latin america acquisition of grupo financiero uno in 2007 , citigroup completed its acquisition of grupo financiero uno ( gfu ) , the largest credit card issuer in central america , and its affiliates , with $ 2.2 billion in assets .
the results for gfu are included in citigroup 2019s global cards and latin america consumer banking businesses from march 5 , 2007 forward .
acquisition of grupo cuscatl e1n in 2007 , citigroup completed the acquisition of the subsidiaries of grupo cuscatl e1n for $ 1.51 billion ( $ 755 million in cash and 14.2 million shares of citigroup common stock ) from corporacion ubc internacional s.a .
grupo .
the results of grupo cuscatl e1n are included from may 11 , 2007 forward and are recorded in latin america consumer banking .
acquisition of bank of overseas chinese in 2007 , citigroup completed its acquisition of bank of overseas chinese ( booc ) in taiwan for approximately $ 427 million .
results for booc are included in citigroup 2019s asia consumer banking , global cards and securities and banking businesses from december 1 , 2007 forward .
acquisition of quilter in 2007 , the company completed the acquisition of quilter , a u.k .
wealth advisory firm , from morgan stanley .
quilter 2019s results are included in citigroup 2019s smith barney business from march 1 , 2007 forward .
quilter is being disposed of as part of the sale of smith barney to morgan stanley described in subsequent events .
acquisition of egg in 2007 , citigroup completed its acquisition of egg banking plc ( egg ) , a u.k .
online financial services provider , from prudential plc for approximately $ 1.39 billion .
results for egg are included in citigroup 2019s global cards and emea consumer banking businesses from may 1 , 2007 forward .
purchase of 20% ( 20 % ) equity interest in akbank in 2007 , citigroup completed its purchase of a 20% ( 20 % ) equity interest in akbank , the second-largest privately owned bank by assets in turkey for approximately $ 3.1 billion .
this investment is accounted for using the equity method of accounting .
sabanci holding , a 34% ( 34 % ) owner of akbank shares , and its subsidiaries have granted citigroup a right of first refusal or first offer over the sale of any of their akbank shares in the future .
subject to certain exceptions , including purchases from sabanci holding and its subsidiaries , citigroup has otherwise agreed not to increase its percentage ownership in akbank .
other items sale of mastercard shares in 2007 , the company recorded a $ 367 million after-tax gain ( $ 581 million pretax ) on the sale of approximately 4.9 million mastercard class b shares that had been received by citigroup as a part of the mastercard initial public offering completed in june 2006 .
the gain was recorded in the following businesses : in millions of dollars pretax after-tax pretax after-tax .
post_text: redecard ipo in 2007 , citigroup ( a 31.9% ( 31.9 % ) shareholder in redecard s.a. , the only merchant acquiring company for mastercard in brazil ) sold approximately 48.8 million redecard shares in connection with redecard 2019s initial public offering in brazil .
following the sale of these shares , citigroup retained approximately 23.9% ( 23.9 % ) ownership in redecard .
an after-tax gain of approximately $ 469 million ( $ 729 million pretax ) was recorded in citigroup 2019s 2007 financial results in the global cards business .
visa restructuring and litigation matters in 2007 , visa usa , visa international and visa canada were merged into visa inc .
( visa ) .
as a result of that reorganization , citigroup recorded a $ 534 million ( pretax ) gain on its holdings of visa international shares primarily recognized in the consumer banking business .
the shares were then carried on citigroup 2019s balance sheet at the new cost basis .
in addition , citigroup recorded a $ 306 million ( pretax ) charge related to certain of visa usa 2019s litigation matters primarily recognized in the north america consumer banking business. .
label: 445
qa: answer: 445
ann_table_rows: 4
steps: op: add2-1
arg1: 367
arg2: 78
res: 445
program: add(367, 78)
gold_inds: table_4: in millions of dollars the total of 2007 pretax total is $ 581 ; the total of 2007 after-tax total is $ 367 ; the total of 2006 pretax total is $ 123 ; the total of 2006 after-tax total is $ 78 ;
exe_ans: 445
tfidftopn: text_18: other items sale of mastercard shares in 2007 , the company recorded a $ 367 million after-tax gain ( $ 581 million pretax ) on the sale of approximately 4.9 million mastercard class b shares that had been received by citigroup as a part of the mastercard initial public offering completed in june 2006 .
table_2: in millions of dollars The consumer banking of 2007 pretax total is 96 ; The consumer banking of 2007 after-tax total is 59 ; The consumer banking of 2006 pretax total is 27 ; The consumer banking of 2006 after-tax total is 18 ;
program_re: add(367, 78)
model_input: text_18
other items sale of mastercard shares in 2007 , the company recorded a $ 367 million after-tax gain ( $ 581 million pretax ) on the sale of approximately 4.9 million mastercard class b shares that had been received by citigroup as a part of the mastercard initial public offering completed in june 2006 .
table_4
in millions of dollars the total of 2007 pretax total is $ 581 ; the total of 2007 after-tax total is $ 367 ; the total of 2006 pretax total is $ 123 ; the total of 2006 after-tax total is $ 78 ;
text_22
an after-tax gain of approximately $ 469 million ( $ 729 million pretax ) was recorded in citigroup 2019s 2007 financial results in the global cards business .