bevaya/FinQA huggingface dataset:
synopsys , inc . notes to consolidated financial statements 2014continued the company has the following tax loss and credit carryforwards available to offset future income tax liabilities : carryforward amount expiration ( in thousands ) .

Table: carryforward amount ( in thousands ) expirationdate federal net operating loss carryforward $ 57265 2018-2034 federal research credit carryforward 78599 2019-2036 federal foreign tax credit carryforward 2081 2019-2022 international foreign tax credit carryforward 13351 indefinite california research credit carryforward 169038 indefinite other state research credit carryforward 7482 2023-2032 state net operating loss carryforward 33201 2024-2035

the federal and state net operating loss carryforward is from acquired companies and the annual use of such loss is subject to significant limitations under internal revenue code section 382 . foreign tax credits may only be used to offset tax attributable to foreign source income . the federal research tax credit was permanently reinstated in fiscal 2016 . the company adopted asu 2016-09 in the first quarter of fiscal 2017 . the company recorded all income tax effects of share-based awards in its provision for income taxes in the condensed consolidated statement of operations on a prospective basis . prior to adoption , the company did not recognize excess tax benefits from stock-based compensation as a charge to capital in excess of par value to the extent that the related tax deduction did not reduce income taxes payable . upon adoption of asu 2016-09 , the company recorded a deferred tax asset of $ 106.5 million mainly related to the research tax credit carryover , for the previously unrecognized excess tax benefits with an offsetting adjustment to retained earnings . adoption of the new standard resulted in net excess tax benefits in the provision for income taxes of $ 38.1 million for fiscal 2017 . during the fourth quarter of fiscal 2017 , the company repatriated $ 825 million from its foreign subsidiary . the repatriation was executed in anticipation of potential u.s . corporate tax reform , and the company plans to indefinitely reinvest the remainder of its undistributed foreign earnings outside the united states . the company provides for u.s . income and foreign withholding taxes on foreign earnings , except for foreign earnings that are considered indefinitely reinvested outside the u.s . as of october 31 , 2017 , there were approximately $ 598.3 million of earnings upon which u.s . income taxes of approximately $ 110.0 million have not been provided for. .

Question: what is the differnece between the federal and the state net operating loss carryforward?
Answer: 24064
Calculation: subtract(57265, 33201)
Explanation: it is the variation between those values .
table of contents valero energy corporation and subsidiaries notes to consolidated financial statements ( continued ) commodity price risk we are exposed to market risks related to the volatility in the price of crude oil , refined products ( primarily gasoline and distillate ) , grain ( primarily corn ) , and natural gas used in our operations . to reduce the impact of price volatility on our results of operations and cash flows , we use commodity derivative instruments , including futures , swaps , and options . we use the futures markets for the available liquidity , which provides greater flexibility in transacting our hedging and trading operations . we use swaps primarily to manage our price exposure . our positions in commodity derivative instruments are monitored and managed on a daily basis by a risk control group to ensure compliance with our stated risk management policy that has been approved by our board of directors . for risk management purposes , we use fair value hedges , cash flow hedges , and economic hedges . in addition to the use of derivative instruments to manage commodity price risk , we also enter into certain commodity derivative instruments for trading purposes . our objective for entering into each type of hedge or trading derivative is described below . fair value hedges fair value hedges are used to hedge price volatility in certain refining inventories and firm commitments to purchase inventories . the level of activity for our fair value hedges is based on the level of our operating inventories , and generally represents the amount by which our inventories differ from our previous year-end lifo inventory levels . as of december 31 , 2011 , we had the following outstanding commodity derivative instruments that were entered into to hedge crude oil and refined product inventories and commodity derivative instruments related to the physical purchase of crude oil and refined products at a fixed price . the information presents the notional volume of outstanding contracts by type of instrument and year of maturity ( volumes in thousands of barrels ) . notional contract volumes by year of maturity derivative instrument 2012 .

Table: derivative instrument notional contract volumes by year of maturity 2012 crude oil and refined products: futures 2013 long 15398 futures 2013 short 35708 physical contracts 2013 long 20310

.

Question: how much more futures are short than long , in percentage?
Answer: 231.9%
Calculation: divide(35708, 15398)
value , which may be maturity , the company does not consider these investments to be other-than-temporarily impaired as of december 31 , 2005 and 2004 . gross realized gains and losses for 2005 were $ 15000 and $ 75000 , respectively . gross realized gains and losses for 2004 were $ 628000 and $ 205000 , respectively . gross realized gains for 2003 were $ 1249000 . there were no gross realized losses for 2003 . maturities stated are effective maturities . f . restricted cash at december 31 , 2005 and 2004 , the company held $ 41482000 and $ 49847000 , respectively , in restricted cash . at december 31 , 2005 and 2004 the balance was held in deposit with certain banks predominantly to collateralize conditional stand-by letters of credit in the names of the company's landlords pursuant to certain operating lease agreements . g . property and equipment property and equipment consist of the following at december 31 ( in thousands ) : depreciation expense for the years ended december 31 , 2005 , 2004 and 2003 was $ 26307000 , $ 28353000 and $ 27988000 respectively . in 2005 and 2004 , the company wrote off certain assets that were fully depreciated and no longer utilized . there was no effect on the company's net property and equipment . additionally , the company wrote off or sold certain assets that were not fully depreciated . the net loss on disposal of those assets was $ 344000 for 2005 and $ 43000 for 2004 . h . investments in accordance with the company's policy , as outlined in note b , "accounting policies" the company assessed its investment in altus pharmaceuticals , inc . ( "altus" ) , which it accounts for using the cost method , and determined that there had not been any adjustments to the fair values of that investment which would indicate a decrease in its fair value below the carrying value that would require the company to write down the investment basis of the asset , as of december 31 , 2005 and december 31 , 2004 . the company's cost basis carrying value in its outstanding equity and warrants of altus was $ 18863000 at december 31 , 2005 and 2004. .

Table: 2005 2004 furniture and equipment $ 98387 $ 90893 leasehold improvements 66318 65294 computers 18971 18421 software 18683 16411 total property and equipment gross 202359 191019 less accumulated depreciation and amortization 147826 126794 total property and equipment net $ 54533 $ 64225

.

Question: what was the ratio of the net loss on the disposal of the unfully depreciated assets in 2005 compared 2004
Answer: 8
Calculation: divide(344000, 43000)
five-year performance comparison 2013 the following graph provides an indicator of cumulative total shareholder returns for the corporation as compared to the peer group index ( described above ) , the dow jones , and the s&p 500 . the graph assumes that the value of the investment in the common stock of union pacific corporation and each index was $ 100 on december 31 , 2002 , and that all dividends were reinvested . comparison of five-year cumulative return 2002 2003 2004 2005 2006 2007 upc s&p 500 peer group dj trans purchases of equity securities 2013 during 2007 , we repurchased 13266070 shares of our common stock at an average price of $ 115.66 . during the first nine months of 2007 , we repurchased 10639916 shares of our common stock at an average price per share of $ 112.68 . the following table presents common stock repurchases during each month for the fourth quarter of 2007 : period number of shares purchased average paid per total number of shares purchased as part of a publicly announced plan or program maximum number of shares that may yet be purchased under the plan or program .

Table: period totalnumber ofsharespurchased[a] averagepricepaid pershare total number of sharespurchased as part of apublicly announcedplan orprogram maximum number ofshares that may yetbe purchased underthe plan orprogram[b] oct . 1 through oct . 31 99782 $ 128.78 - 9774279 nov . 1 through nov . 30 540294 124.70 528000 9246279 dec . 1 through dec . 31 1986078 128.53 1869800 7376479 total 2626154 $ 127.75 2397800 n/a

[a] total number of shares purchased during the quarter includes 228354 shares delivered or attested to upc by employees to pay stock option exercise prices , satisfy excess tax withholding obligations for stock option exercises or vesting of retention units , and pay withholding obligations for vesting of retention shares . [b] on january 30 , 2007 , our board of directors authorized us to repurchase up to 20 million shares of our common stock through december 31 , 2009 . we may make these repurchases on the open market or through other transactions . our management has sole discretion with respect to determining the timing and amount of these transactions. .

Question: what percentage of the total number of shares purchased were purchased in december?
Answer: 76%
Calculation: divide(1986078, 2626154)
contracts as of december 31 , 2006 , which all mature in 2007 . forward contract notional amounts presented below are expressed in the stated currencies ( in thousands ) . forward currency contracts: .

Table: ( pay ) /receive u.s . dollars -114000 ( 114000 ) euros -4472 ( 4472 ) singapore dollars 37180 canadian dollars 81234 malaysian ringgits 85963

a movement of 10% ( 10 % ) in the value of the u.s . dollar against foreign currencies would impact our expected net earnings by approximately $ 0.1 million . item 8 . financial statements and supplementary data the financial statements and supplementary data required by this item are included herein , commencing on page f-1 . item 9 . changes in and disagreements with accountants on accounting and financial disclosure item 9a . controls and procedures ( a ) evaluation of disclosure controls and procedures our management , with the participation of our chief executive officer and chief financial officer , evaluated the effectiveness of our disclosure controls and procedures as of the end of the period covered by this report . based on that evaluation , the chief executive officer and chief financial officer concluded that our disclosure controls and procedures as of the end of the period covered by this report are functioning effectively to provide reasonable assurance that the information required to be disclosed by us in reports filed under the securities exchange act of 1934 is ( i ) recorded , processed , summarized and reported within the time periods specified in the sec 2019s rules and forms and ( ii ) accumulated and communicated to our management , including the chief executive officer and chief financial officer , as appropriate to allow timely decisions regarding disclosure . a controls system cannot provide absolute assurance , however , that the objectives of the controls system are met , and no evaluation of controls can provide absolute assurance that all control issues and instances of fraud , if any , within a company have been detected . ( b ) management 2019s report on internal control over financial reporting our management 2019s report on internal control over financial reporting is set forth on page f-2 of this annual report on form 10-k and is incorporated by reference herein . ( c ) change in internal control over financial reporting no change in our internal control over financial reporting occurred during our most recent fiscal quarter that has materially affected , or is reasonably likely to materially affect , our internal control over financial reporting . item 9b . other information .

Question: what is a rough estimate of the ratio of securities given to securities received?
Answer: 3/5
Calculation: divide(add(114000, 4472), add(85963, add(37180, 81234)))
Explanation: to find the ratio , one must add up the securities received by given . then one must divide the total securities received by the total securities given .
note 9 . commitments and contingencies operating leases we are obligated under noncancelable operating leases for corporate office space , warehouse and distribution facilities , trucks and certain equipment . the future minimum lease commitments under these leases at december 31 , 2009 are as follows ( in thousands ) : years ending december 31: .

Table: 2010 $ 55178 2011 45275 2012 36841 2013 30789 2014 22094 thereafter 59263 future minimum lease payments $ 249440

rental expense for operating leases was approximately $ 57.2 million , $ 49.0 million and $ 26.6 million during the years ended december 31 , 2009 , 2008 and 2007 , respectively . we guarantee the residual values of the majority of our truck and equipment operating leases . the residual values decline over the lease terms to a defined percentage of original cost . in the event the lessor does not realize the residual value when a piece of equipment is sold , we would be responsible for a portion of the shortfall . similarly , if the lessor realizes more than the residual value when a piece of equipment is sold , we would be paid the amount realized over the residual value . had we terminated all of our operating leases subject to these guarantees at december 31 , 2009 , the guaranteed residual value would have totaled approximately $ 27.8 million . litigation and related contingencies in december 2005 and may 2008 , ford global technologies , llc filed complaints with the international trade commission against us and others alleging that certain aftermarket parts imported into the u.s . infringed on ford design patents . the parties settled these matters in april 2009 pursuant to a settlement arrangement that expires in september 2011 . pursuant to the settlement , we ( and our designees ) became the sole distributor in the united states of aftermarket automotive parts that correspond to ford collision parts that are covered by a united states design patent . we have paid ford an upfront fee for these rights and will pay a royalty for each such part we sell . the amortization of the upfront fee and the royalty expenses are reflected in cost of goods sold on the accompanying consolidated statements of income . we also have certain other contingencies resulting from litigation , claims and other commitments and are subject to a variety of environmental and pollution control laws and regulations incident to the ordinary course of business . we currently expect that the resolution of such contingencies will not materially affect our financial position , results of operations or cash flows . note 10 . business combinations on october 1 , 2009 , we acquired greenleaf auto recyclers , llc ( 201cgreenleaf 201d ) from ssi for $ 38.8 million , net of cash acquired . greenleaf is the entity through which ssi operated its late model automotive parts recycling business . we recorded a gain on bargain purchase for the greenleaf acquisition totaling $ 4.3 million , which is .

Question: in 2009 what was the percent of the total future minimum lease commitments and contingencies for operating leases that was due in 2012
Answer: 14.8%
Calculation: divide(36841, 249440)
table of contents the following performance graph is not 201csoliciting material , 201d is not deemed filed with the sec , and is not to be incorporated by reference into any of valero 2019s filings under the securities act of 1933 or the securities exchange act of 1934 , as amended , respectively . this performance graph and the related textual information are based on historical data and are not indicative of future performance . the following line graph compares the cumulative total return 1 on an investment in our common stock against the cumulative total return of the s&p 500 composite index and an index of peer companies ( that we selected ) for the five-year period commencing december 31 , 2006 and ending december 31 , 2011 . our peer group consists of the following nine companies that are engaged in refining operations in the u.s. : alon usa energy , inc. ; chevron corporation ; cvr energy , inc. ; exxon mobil corporation ; hess corporation ; hollyfrontier corporation ; marathon petroleum corporation ; tesoro corporation ; and western refining , inc . our peer group previously included conocophillips ; marathon oil corporation ; murphy oil corporation ; and sunoco , inc. , but they are not included in our current peer group because they have exited or are exiting refining operations in the u.s . frontier oil corporation and holly corporation are now represented in our peer group as hollyfrontier corporation. .

Table: 12/2006 12/2007 12/2008 12/2009 12/2010 12/2011 valero common stock $ 100.00 $ 137.91 $ 43.38 $ 34.60 $ 48.28 $ 44.49 s&p 500 100.00 105.49 66.46 84.05 96.71 98.75 old peer group 100.00 127.94 98.91 94.54 112.51 130.65 new peer group 100.00 127.92 103.60 97.91 113.09 133.47

1 assumes that an investment in valero common stock and each index was $ 100 on december 31 , 2006 . 201ccumulative total return 201d is based on share price appreciation plus reinvestment of dividends from december 31 , 2006 through december 31 , 2011. .

Question: what was the range for valero stock from 2007-2011?
Answer: 103.31
Calculation: subtract(137.91, 34.60)
five-year performance comparison 2013 the following graph provides an indicator of cumulative total shareholder returns for the corporation as compared to the peer group index ( described above ) , the dj trans , and the s&p 500 . the graph assumes that $ 100 was invested in the common stock of union pacific corporation and each index on december 31 , 2007 and that all dividends were reinvested . purchases of equity securities 2013 during 2012 , we repurchased 13804709 shares of our common stock at an average price of $ 115.33 . the following table presents common stock repurchases during each month for the fourth quarter of 2012 : period total number of shares purchased [a] average price paid per share total number of shares purchased as part of a publicly announced plan or program [b] maximum number of shares that may yet be purchased under the plan or program [b] .

Table: period total number ofsharespurchased [a] averageprice paidper share total number of sharespurchased as part of apublicly announced planor program [b] maximum number ofshares that may yetbe purchased under the planor program [b] oct . 1 through oct . 31 1068414 121.70 1028300 16041399 nov . 1 through nov . 30 659631 120.84 655000 15386399 dec . 1 through dec . 31 411683 124.58 350450 15035949 total 2139728 $ 121.99 2033750 n/a

[a] total number of shares purchased during the quarter includes approximately 105978 shares delivered or attested to upc by employees to pay stock option exercise prices , satisfy excess tax withholding obligations for stock option exercises or vesting of retention units , and pay withholding obligations for vesting of retention shares . [b] on april 1 , 2011 , our board of directors authorized the repurchase of up to 40 million shares of our common stock by march 31 , 2014 . these repurchases may be made on the open market or through other transactions . our management has sole discretion with respect to determining the timing and amount of these transactions. .

Question: what percentage of the total number of shares purchased were purchased in october?
Answer: 50%
Calculation: divide(1068414, 2139728)
contracts as of december 31 , 2006 , which all mature in 2007 . forward contract notional amounts presented below are expressed in the stated currencies ( in thousands ) . forward currency contracts: .

Table: ( pay ) /receive u.s . dollars -114000 ( 114000 ) euros -4472 ( 4472 ) singapore dollars 37180 canadian dollars 81234 malaysian ringgits 85963

a movement of 10% ( 10 % ) in the value of the u.s . dollar against foreign currencies would impact our expected net earnings by approximately $ 0.1 million . item 8 . financial statements and supplementary data the financial statements and supplementary data required by this item are included herein , commencing on page f-1 . item 9 . changes in and disagreements with accountants on accounting and financial disclosure item 9a . controls and procedures ( a ) evaluation of disclosure controls and procedures our management , with the participation of our chief executive officer and chief financial officer , evaluated the effectiveness of our disclosure controls and procedures as of the end of the period covered by this report . based on that evaluation , the chief executive officer and chief financial officer concluded that our disclosure controls and procedures as of the end of the period covered by this report are functioning effectively to provide reasonable assurance that the information required to be disclosed by us in reports filed under the securities exchange act of 1934 is ( i ) recorded , processed , summarized and reported within the time periods specified in the sec 2019s rules and forms and ( ii ) accumulated and communicated to our management , including the chief executive officer and chief financial officer , as appropriate to allow timely decisions regarding disclosure . a controls system cannot provide absolute assurance , however , that the objectives of the controls system are met , and no evaluation of controls can provide absolute assurance that all control issues and instances of fraud , if any , within a company have been detected . ( b ) management 2019s report on internal control over financial reporting our management 2019s report on internal control over financial reporting is set forth on page f-2 of this annual report on form 10-k and is incorporated by reference herein . ( c ) change in internal control over financial reporting no change in our internal control over financial reporting occurred during our most recent fiscal quarter that has materially affected , or is reasonably likely to materially affect , our internal control over financial reporting . item 9b . other information .

Question: if the u.s dollar would change by 5% ( 5 % ) against foreign currencies , what would the expected net earnings?
Answer: $ 0.05 million
Calculation: divide(0.1, const_2)
Explanation: if a currency change of 10% would change the net earnings by $ 0.1 million . then dividing that in half to get a change in 5% . the answer would then be $ 0.05 million .