As of December 31, 2017, we had $1.238 billion of gross unrecognized tax benefits, of which a net $1.150 billion, if recognized, would affect our effective tax rate.
As of December 31, 2016, we had $1.095 billion of gross unrecognized tax benefits, of which a net $1.006 billion, if recognized, would affect our effective tax rate.
As of December 31, 2015, we had $1.056 billion of gross unrecognized tax benefits, of which a net $900 million, if recognized, would affect our effective tax rate.
A reconciliation of the beginning and ending amount of unrecognized tax benefits is as follows:
||Year Ended December 31,|
|(in millions)|2017|2016|2015|
|Beginning Balance|$1,095|$1,056|$1,047|
|Additions based on positions related to the current year|134|47|32|
|Additions based on positions related to prior years|16|14|38|
|Reductions for tax positions of prior years|-3|-17|-36|
|Settlements with taxing authorities|-2|-3|-18|
|Statute of limitation expirations|-2|-2|-7|
|Ending Balance|$1,238|$1,095|$1,056|

We are subject to U. S.  Federal income tax as well as income tax of multiple state and foreign jurisdictions.
We have concluded all U. S.  federal income tax matters through 2000, all foreign income tax matters through 2002 and substantially all material state and local income tax matters through 2005.
We have received Notices of Deficiency from the Internal Revenue Service (IRS) reflecting proposed audit adjustments for Guidant Corporation for its 2001 through 2006 tax years and Boston Scientific Corporation for its 2006 and 2007 tax years.
The total incremental tax liability asserted by the IRS for the applicable periods is $1.162 billion plus interest.
The primary issue in dispute for all years is the transfer pricing associated with the technology license agreements between domestic and foreign subsidiaries of Guidant.
In addition, the IRS has proposed adjustments in connection with the financial terms of our Transaction Agreement with Abbott Laboratories pertaining to the sale of Guidant's vascular intervention business to Abbott Laboratories in April 2006.
During 2014, we received a Revenue Agent Report from the IRS reflecting significant proposed audit adjustments to our 2008, 2009 and 2010 tax years based upon the same transfer pricing methodologies that the IRS applied to our 2001 through 2007 tax years.
We do not agree with the transfer pricing methodologies applied by the IRS or its resulting assessment.
We have filed petitions with the U. S.  Tax Court contesting the Notices of Deficiency for the 2001 through 2007 tax years in challenge and submitted a letter to the IRS Office of Appeals protesting the Revenue Agent Report for the 2008 through 2010 tax years and requesting an administrative appeal hearing.
The issues in dispute were scheduled to be heard in U. S.  Tax Court in July 2016.
On July 19, 2016, we entered into a Stipulation of Settled Issues with the IRS intended to resolve all of the aforementioned transfer pricing issues, as well as the issues related to our transaction with Abbott Laboratories, for the 2001 through 2007 tax years.
The Stipulation of Settled Issues is contingent upon the IRS Office of Appeals applying the same basis of settlement to all transfer pricing issues for the Company’s 2008, 2009 and 2010 tax years as well as review by the United States Congress Joint Committee on Taxation.
In October 2016, we reached an agreement in principle with IRS Office of Appeals as to the resolution of transfer pricing issues in 2008, 2009 and 2010 tax years, subject to additional calculations of tax as well as documentation to memorialize our agreement.
In the event that the conditions in the Stipulation of Settled Items are satisfied, we expect to make net tax payments of approximately $275 million, plus interest through the date of payment with respect to the settled issues.
If finalized, payments related to the resolution are expected in the next six months.
We believe that our income tax reserves associated with these matters are adequate as of December 31, 2017 and we do not expect to recognize any additional charges related to resolution of this controversy.
However, the final resolution of these issues is contingent and if the Stipulation of Settled Issues is not finalized, it could have a material impact on our financial condition, results of operations, or cash flows.
We recognize interest and penalties related to income taxes as a component of income tax expense.
We had $655 million accrued for gross interest and penalties as of December 31, 2017 and $572 million as of December 31, 2016.
The increase in gross interest and penalties of $83 million was recognized in our consolidated statements of operations.
We recognized net tax expense related to interest and penalties of $154 million in 2017, $46 million in 2016 and $37 million in 2015.
The increase in our net tax expense related to interest and penalties as of December 31, 2017, as compared to December 31, 2016, is primarily attributable to remeasuring the future tax benefit of our accrued interest as a result of the TCJA.
segment includes AWE and our share of earnings for our investment in ULA, which provides expendable launch services to the U. S.  Government.
Space Systems’ operating results included the following (in millions):
||2016|2015|2014|
|Net sales|$9,409|$9,105|$9,202|
|Operating profit|1,289|1,171|1,187|
|Operating margin|13.7%|12.9%|12.9%|
|Backlog atyear-end|$18,900|$17,400|$20,300|

2016 compared to 2015 Space Systems’ net sales in 2016 increased $304 million, or 3%, compared to 2015.
The increase was attributable to net sales of approximately $410 million from AWE following the consolidation of this business in the third quarter of 2016; and approximately $150 million for commercial space transportation programs due to increased launch-related activities; and approximately $70 million of higher net sales for various programs (primarily Fleet Ballistic Missiles) due to increased volume.
These increases were partially offset by a decrease in net sales of approximately $340 million for government satellite programs due to decreased volume (primarily SBIRS and MUOS) and the wind-down or completion of mission solutions programs.
Space Systems’ operating profit in 2016 increased $118 million, or 10%, compared to 2015.
The increase was primarily attributable to a non-cash, pre-tax gain of approximately $127 million related to the consolidation of AWE; and approximately $80 million of increased equity earnings from joint ventures (primarily ULA).
These increases were partially offset by a decrease of approximately $105 million for government satellite programs due to lower risk retirements (primarily SBIRS, MUOS and mission solutions programs) and decreased volume.
Adjustments not related to volume, including net profit booking rate adjustments, were approximately $185 million lower in 2016 compared to 2015.2015 compared to 2014 Space Systems’ net sales in 2015 decreased $97 million, or 1%, compared to 2014.
The decrease was attributable to approximately $335 million lower net sales for government satellite programs due to decreased volume (primarily AEHF) and the wind-down or completion of mission solutions programs; and approximately $55 million for strategic missile and defense systems due to lower volume.
These decreases were partially offset by higher net sales of approximately $235 million for businesses acquired in 2014; and approximately $75 million for the Orion program due to increased volume.
Space Systems’ operating profit in 2015 decreased $16 million, or 1%, compared to 2014.
Operating profit increased approximately $85 million for government satellite programs due primarily to increased risk retirements.
This increase was offset by lower operating profit of approximately $65 million for commercial satellite programs due to performance matters on certain programs; and approximately $35 million due to decreased equity earnings in joint ventures.
Adjustments not related to volume, including net profit booking rate adjustments and other matters, were approximately $105 million higher in 2015 compared to 2014.
Equity earnings Total equity earnings recognized by Space Systems (primarily ULA) represented approximately $325 million, $245 million and $280 million, or 25%, 21% and 24% of this business segment’s operating profit during 2016, 2015 and 2014.
Backlog Backlog increased in 2016 compared to 2015 primarily due to the addition of AWE’s backlog.
Backlog decreased in 2015 compared to 2014 primarily due to lower orders for government satellite programs and the Orion program and higher sales on the Orion program.
Trends We expect Space Systems’ 2017 net sales to decrease in the mid-single digit percentage range as compared to 2016, driven by program lifecycles on government satellite programs, partially offset by the recognition of AWE net sales for a full year in 2017 versus a partial year in 2016 following the consolidation of AWE in the third quarter of 2016.
Operating profit
(2) The following table shows the amounts of other venture capital investments held by the following consolidated funds and amounts attributable to SVBFG for each fund at December 31, 2014 , 2013 and 2012 :
||December 31,|
||2014|2013|2012|
|(Dollars in thousands)|Carrying value(as reported)|Amount attributableto SVBFG|Carrying value(as reported)|Amount attributableto SVBFG|Carrying value(as reported)|Amount attributableto SVBFG|
|Silicon Valley BancVentures, LP|$3,291|$352|$6,564|$702|$43,493|$4,652|
|SVB Capital Partners II, LP|20,481|1,040|22,684|1,152|79,761|4,051|
|Capital Partners III, LP|41,055|—|—|—|—|—|
|SVB Capital Shanghai Yangpu Venture Capital Fund|6,377|431|3,591|243|3,837|259|
|Total other venture capital investments|$71,204|$1,823|$32,839|$2,097|$127,091|$8,962|

(3) Investments classified as other securities (fair value accounting) represent direct equity investments in public companies held by our consolidated funds.
At December 31, 2014 , the amount primarily includes total unrealized gains of $75 million in one public company, FireEye.
The extent to which any unrealized gains (or losses) will become realized is subject to a variety of factors, including, among other things, changes in prevailing market prices and the timing of any sales or distribution of securities and may also be constrained by lock-up agreements.
None of the FireEye related investments currently are subject to a lock-up agreement.
Loans The following table details the composition of the loan portfolio, net of unearned income, as of the five most recent year-ends:
||December 31,|
|(Dollars in thousands)|2014|2013|2012|2011|2010|
|Commercial loans:||||||
|Software and internet -1|$4,954,676|$4,102,636|$3,261,489|$2,492,849|$1,820,680|
|Hardware -1|1,131,006|1,213,032|1,118,370|952,303|641,052|
|Private equity/venture capital|4,582,906|2,386,054|1,732,699|1,117,419|1,036,201|
|Life science & healthcare -1|1,289,904|1,170,220|1,066,199|863,737|575,944|
|Premium wine|187,568|149,841|143,511|130,245|144,972|
|Other -1|234,551|288,904|315,453|342,147|375,928|
|Total commercial loans|12,380,611|9,310,687|7,637,721|5,898,700|4,594,777|
|Real estate secured loans:||||||
|Premium wine -2|606,753|514,993|413,513|345,988|312,255|
|Consumer loans -3|1,118,115|873,255|685,300|534,001|361,704|
|Other|39,651|30,743|—|—|—|
|Total real estate secured loans|1,764,519|1,418,991|1,098,813|879,989|673,959|
|Construction loans -4|78,626|76,997|65,742|30,256|60,178|
|Consumer loans|160,520|99,711|144,657|161,137|192,823|
|Total loans, net of unearned income -5(6)|$14,384,276|$10,906,386|$8,946,933|$6,970,082|$5,521,737|

(1) Because of the diverse nature of energy and resource innovation products and services, for our loan-related reporting purposes, ERI-related loans are reported under our hardware, software and internet, life science & healthcare and other commercial loan categories, as applicable.
(2) Included in our premium wine portfolio are gross construction loans of $112 million , $112 million , $148 million , $111 million and $119 million at December 31, 2014 , 2013 , 2012 , 2011 and 2010 , respectively.
(3) Consumer loans secured by real estate at December 31, 2014 , 2013 , 2012 , 2011 and 2010 were comprised of the following:

Question: What's the average of the Private equity/venture capital in the years where SVB Capital Partners II, LP for Carrying value(as reported) for December 31, is positive? (in thousand)

Solution:
def solution():
    # Define variables name and value
    private_equity_venture_capital = [4582906, 2386054, 1732699]
    
    # Do math calculation to get the answer
    answer = sum(private_equity_venture_capital) / len(private_equity_venture_capital)
    
    return answer
Answer: 2900553