Notes to Consolidated Financial Statements Note 11.
Income Taxes – (Continued) The federal income tax return for 2006 is subject to examination by the IRS.
In addition for 2007 and 2008, the IRS has invited the Company to participate in the Compliance Assurance Process (“CAP”), which is a voluntary program for a limited number of large corporations.
Under CAP, the IRS conducts a real-time audit and works contemporaneously with the Company to resolve any issues prior to the filing of the tax return.
The Company has agreed to participate.
The Company believes this approach should reduce tax-related uncertainties, if any.
The Company and/or its subsidiaries also file income tax returns in various state, local and foreign jurisdictions.
These returns, with few exceptions, are no longer subject to examination by the various taxing authorities before 2000.
As discussed in Note 1, the Company adopted the provisions of FIN No.48, “Accounting for Uncertainty in Income Taxes,” on January 1, 2007.
As a result of the implementation of FIN No.48, the Company recognized a decrease to beginning retained earnings on January 1, 2007 of $37 million.
The total amount of unrecognized tax benefits as of the date of adoption was approximately $70 million.
Included in the balance at January 1, 2007, were $51 million of tax positions that if recognized would affect the effective tax rate.
A reconciliation of the beginning and ending amount of unrecognized tax benefits is as follows:
|Balance, January 1, 2007|$70|
|Additions based on tax positions related to the current year|12|
|Additions for tax positions of prior years|3|
|Reductions for tax positions related to the current year|-23|
|Settlements|-6|
|Expiration of statute of limitations|-3|
|Balance, December 31, 2007|$53|

The Company anticipates that it is reasonably possible that payments of approximately $2 million will be made primarily due to the conclusion of state income tax examinations within the next 12 months.
Additionally, certain state and foreign income tax returns will no longer be subject to examination and as a result, there is a reasonable possibility that the amount of unrecognized tax benefits will decrease by $7 million.
At December 31, 2007, there were $42 million of tax benefits that if recognized would affect the effective rate.
The Company recognizes interest accrued related to: (1) unrecognized tax benefits in Interest expense and (2) tax refund claims in Other revenues on the Consolidated Statements of Income.
The Company recognizes penalties in Income tax expense (benefit) on the Consolidated Statements of Income.
During 2007, the Company recorded charges of approximately $4 million for interest expense and $2 million for penalties.
Provision has been made for the expected U. S.  federal income tax liabilities applicable to undistributed earnings of subsidiaries, except for certain subsidiaries for which the Company intends to invest the undistributed earnings indefinitely, or recover such undistributed earnings tax-free.
At December 31, 2007, the Company has not provided deferred taxes of $126 million, if sold through a taxable sale, on $361 million of undistributed earnings related to a domestic affiliate.
The determination of the amount of the unrecognized deferred tax liability related to the undistributed earnings of foreign subsidiaries is not practicable.
In connection with a non-recurring distribution of $850 million to Diamond Offshore from a foreign subsidiary, a portion of which consisted of earnings of the subsidiary that had not previously been subjected to U. S.  federal income tax, Diamond Offshore recognized $59 million of U. S.  federal income tax expense as a result of the distribution.
It remains Diamond Offshore’s intention to indefinitely reinvest future earnings of the subsidiary to finance foreign activities.
Total income tax expense for the years ended December 31, 2007, 2006 and 2005, was different than the amounts of $1,601 million, $1,557 million and $639 million, computed by applying the statutory U. S.  federal income tax rate of 35% to income before income taxes and minority interest for each of the years.
Item 7.
Management’s Discussion and Analysis of Financial Condition and Results of Operations Results of Operations – CNA Financial – (Continued)
|Year Ended December 31, 2014|Specialty|Commercial|International|Total|
|(In millions, except %)|||||
|Net written premiums|$2,839|$2,817|$880|$6,536|
|Net earned premiums|2,838|2,906|913|6,657|
|Net investment income|560|723|61|1,344|
|Net operating income|569|276|63|908|
|Net realized investment gains (losses)|9|9|-1|17|
|Net income|578|285|62|925|
|Other performance metrics:|||||
|Loss and loss adjustment expense ratio|57.3%|75.3%|53.5%|64.6%|
|Expense ratio|30.1|33.7|38.9|32.9|
|Dividend ratio|0.2|0.3||0.2|
|Combined ratio|87.6%|109.3%|92.4%|97.7%|
|Rate|3%|5%|-1%|3%|
|Retention|87%|73%|74%|78%|
|New Business (a)|$309|$491|$115|$915|

(a) Includes Hardy new business of $133 million for the year ended December 31, 2016.
Prior years amounts are not included for Hardy.2016 Compared with 2015 Net written premiums increased $21 million in 2016 as compared with 2015.
Net written premiums for Commercial increased $23 million in 2016 as compared with 2015, driven by strong retention in middle markets, partially offset by a decrease in small business, which included a premium rate adjustment, as discussed in Note 18 of the Notes to Consolidated Financial Statements under Item 8.
Net written premiums for Specialty in 2016 were consistent with 2015 as growth in warranty was offset by a decrease in management and professional liability and health care due to underwriting actions undertaken in certain business lines.
Net written premiums for International in 2016 were consistent with 2015 and include favorable period over period premium development of $24 million.
Excluding the effect of foreign currency exchange rates and premium development, net written premiums increased 1.4% in 2016 in International.
The increase in net earned premiums was consistent with the trend in net written premiums in Commercial.
Excluding the effect of foreign currency exchange rates and premium development, the increase in net earned premiums was consistent with the trend in net written premiums in International.
Net operating income increased $15 million in 2016 as compared with 2015.
The increase in net operating income was primarily due to higher favorable net prior year reserve development and net investment income, partially offset by an increase in the current accident year loss ratio and higher underwriting expenses.
Catastrophe losses were $100 million (after tax and noncontrolling interests) in 2016 as compared to catastrophe losses of $85 million (after tax and noncontrolling interests) in 2015.
Favorable net prior year development of $316 million and $218 million was recorded in 2016 and 2015.
Specialty recorded favorable net prior year development of $305 million and $152 million in 2016 and 2015, Commercial recorded unfavorable net prior year development of $53 million in 2016 as compared with favorable net prior year development of $30 million in 2015 and International recorded favorable net prior year development of $64 million and $36 million in 2016 and 2015.
Further information on net prior year development is included in Note 8 of the Notes to Consolidated Financial Statements included under Item 8.
Specialty’s combined ratio decreased 3.7 points in 2016 as compared with 2015.
The loss ratio decreased 4.6 points due to higher favorable net prior year reserve development, partially offset by a higher current accident year loss ratio.
Specialty’s expense ratio increased 0.9 points in 2016 as compared with 2015 due to higher employee costs and higher information technology (“IT”) spending primarily related to new underwriting platforms.
Item 7.
Management’s Discussion and Analysis of Financial Condition and Results of Operations Results of Operations – Boardwalk Pipeline – (Continued) Results of Operations The following table summarizes the results of operations for Boardwalk Pipeline for the years ended December 31, 2016, 2015 and 2014 as presented in Note 20 of the Notes to Consolidated Financial Statements included under Item 8:
| Year Ended December 31|2016|2015|2014|
| (In millions)||||
|Revenues:||||
|Other revenue, primarily operating|$ 1,316|$ 1,253|$ 1,235|
|Net investment income||1|1|
|Total|1,316|1,254|1,236|
|Expenses:||||
|Operating|835|851|931|
|Interest|183|176|165|
|Total|1,018|1,027|1,096|
|Income before income tax|298|227|140|
|Income tax expense|-61|-46|-11|
|Amounts attributable to noncontrolling interests|-148|-107|-111|
|Net income attributable to Loews Corporation|$ 89|$ 74|$ 18|

2016 Compared with 2015 Total revenues increased $62 million in 2016 as compared with 2015.
Excluding the net effect of $13 million of proceeds received from the settlement of a legal matter in 2016, $9 million of proceeds received from a business interruption claim in 2015 and items offset in fuel and transportation expense, primarily retained fuel, operating revenues increased $83 million.
The increase was driven by an increase in transportation revenues of $71 million, which resulted primarily from growth projects recently placed into service, incremental revenues from the Gulf South rate case of $18 million and a full year of revenues from the Evangeline pipeline.
Storage and PAL revenues were higher by $17 million primarily from the effects of favorable market conditions on time period price spreads.
Operating expenses decreased $16 million in 2016 as compared with 2015.
Excluding receipt of a franchise tax refund of $10 million in 2015 and items offset in operating revenues, operating costs and expenses increased $5 million primarily due to higher employee related costs, partially offset by decreases in maintenance activities and depreciation expense.
Interest expense increased $7 million primarily due to higher average interest rates compared to 2015.
Net income increased $15 million in 2016 as compared with 2015, primarily reflecting higher revenues and lower operating expenses, partially offset by higher interest expense as discussed above.2015 Compared with 2014 Total revenues increased $18 million in 2015 as compared with 2014.
Excluding the business interruption claim proceeds of $8 million and items offset in fuel and transportation expense, primarily retained fuel, operating revenues increased $33 million.
This increase is primarily due to higher transportation revenues of $39 million from growth projects recently placed into service, including the Evangeline pipeline which was acquired in October of 2014 and $20 million of additional revenues resulting from the Gulf South rate case, partially offset by the effects of comparably warm weather experienced in the early part of the 2015 period in Boardwalk Pipeline’s market areas and unfavorable market conditions.
Storage and PAL revenues decreased $20 million primarily as a result of the effects of unfavorable market conditions on time period price spreads.
Operating expenses decreased $80 million in 2015 as compared with 2014.
This decrease is primarily due to a $94 million prior year charge to write off all capitalized costs associated with the terminated Bluegrass project, a $10 million franchise tax refund related to settlement of prior tax periods and a decrease in fuel and transportation expense due to lower natural gas prices.
These decreases were partially offset by higher depreciation expense of $35

Question: What is the sum of Net written premiums in the range of 1 and 3000 in 2014? (in million)

Solution:
def solution():
    # Define variables name and value
    net_written_premiums_1 = 2839
    net_written_premiums_2 = 2817
    net_written_premiums_3 = 880
    
    # Do math calculation to get the answer
    answer = net_written_premiums_1 + net_written_premiums_2 + net_written_premiums_3
    
    return answer
Answer: 6536