Fiscal Year
Fiscal Year
Fiscal Year
2019
2018
2017
Net cash (used in) operating activities
$(11,594)
$(12,638)
$(12,938)
Net cash (used in) investing activities
(921)
(288)
(642)
Net cash provided by financing activities
7,600
22,862
15,237
cash balances held at our foreign subsidiaries were approximately $ 548000 and $ 656000 at december 29 2019 and december 30 2018 respectively .
earnings from our foreign subsidiaries are currently deemed to be indefinitely reinvested .
we do not expect such reinvestment to affect our liquidity and capital resources and we continually evaluate our liquidity needs and ability to meet global cash requirements as a part of our overall capital deployment strategy .
factors which affect our liquidity capital resources and global capital deployment strategy include anticipated cash flows the ability to repatriate cash in a tax efficient manner funding requirements for operations and investment activities acquisitions and divestitures and capital market conditions .
in summary our cash flows were as follows -in thousands : .
net cash from operating activities .
in 2019 net cash used in operating activities was $ 11 .
6 million which was primarily due to a net loss of $ 15 .
4 million adjusted for non-cash charges of $ 4 .
3 million .
non-cash charges consisted primarily stock-based compensation expense of $ 3 .
1 million and depreciation and amortization of long-lived assets and certain definite- lived intangible assets of $ 1 .
2 million .
in addition changes in working capital accounts used cash of $ 392000 as a result of a decrease in accounts payable and accrued liabilities of $ 1 .
5 million partially offset by cash inflow from a decrease in inventory of $ 483000 a decrease in accounts receivable of $ 218000 a decrease in other assets of $ 229000 and an increase in deferred revenue of $ 158000 .
in 2018 net cash used in operating activities was $ 12 .
6 million and resulted primarily from a net loss of $ 13 .
8 million adjusted for non-cash charges of $ 3 .
6 million .
these non-cash charges included write-downs of inventories in the amount of $ 386000 to reflect excess quantities depreciation and amortization of our long-lived assets of $ 1 .
3 million and stock-based compensation of $ 1 .
9 million .
in addition changes in working capital accounts used cash of $ 2 .
4 million as a result of an increase in accounts receivable of $ 1 .
3 million an increase in gross inventory of $ 662000 and an increase in other assets of $ 879000 partially offset by an increase in accrued liabilities of $ 235000 and an increase in trade payables of $ 223000 .
in 2017 net cash used in operating activities was $ 12 .
9 million and resulted primarily from a net loss of $ 14 .
1 million adjusted for non-cash charges of $ 3 .
1 million .
these non-cash charges included write-downs of inventories in the amount of $ 232000 to reflect excess quantities depreciation and amortization of our long-lived assets of $ 1 .
4 million and stock-based compensation of $ 1 .
4 million .
in addition changes in working capital accounts used cash of $ 1 .
9 million as a result of an increase in accounts receivable of $ 86000 an increase in gross inventory of $ 1 .
8 million and a decrease of accounts payable of $ 145000 partially offset by an increase in accrued liabilities of $ 72000 .
net cash from investing activities .
net cash used for investing activities in 2019 was $ 921000 which was primarily attributable to the leasehold improvements and computer equipment at the new office premises of $ 576000 and capitalization of internal use software of $ 365000 .
net cash used for investing activities in 2018 was $ 288000 primarily for capital expenditures to acquire manufacturing equipment and software which was partially offset by proceeds from the sale of old equipment .
net cash used for investing activities in 2017 was $ 642000 primarily for capital expenditures to acquire manufacturing equipment and software .
net cash from financing activities .
in 2019 net cash provided by financing activities was $ 7 .
6 million primarily attributable to the net proceeds from the issuance of 1 .
3 million shares of common stock in june 2019 .
these inflows were partially offset by scheduled repayments of finance lease obligations and tax payments related to net settlement of stock awards .
in 2018 net cash provided by financing activities was $ 22 .
9 million resulting from the additional borrowing of $ 9 .
0 million under the line of credit net cash proceeds of $ 13 .
9 million from our common stock offering in may 2018 and proceeds of $ 676000 from the issuance of common shares to employees under our equity plans .
these proceeds were partially offset by scheduled payments of finance lease obligations and tax payments related to net settlement of stock awards .
in 2017 net cash provided by financing activities was $ 15 .
2 million resulting from the proceeds of $ 15 .
2 million from our stock offering in march 2017 and proceeds of $ 352000 from the issuance of common shares to employees under our equity plans net of taxes paid related to net settlement of equity awards of $ 198000 .
these proceeds were partially offset by payments of $ 344000 under the terms of our capital software lease obligations .
we require substantial cash to fund our business .
however we believe that our existing cash and cash equivalents together with available financial resources from the revolving facility will be sufficient to satisfy our operations and capital expenditures over the next twelve months .
ourrevolving facility will expire in september 2021 and we expect to renew this line of credit or find an alternative lender prior to the expiration date .
further any violations of debt covenants may restrict our access to any additional cash draws from the revolving line of credit and may require our immediate repayment of the outstanding debt amounts .
after the next twelve months our cash requirements will depend on many factors including our level of revenue and gross profit the market acceptance of our existing and new products the levels at which we maintain inventories and accounts receivable costs of securing access to adequate manufacturing capacity new product development efforts capital expenditures and the level of our operating expenses .
in order to satisfy our longer term liquidity requirements we may be required to raise additional equity or debt financing .
there can be no assurance that financing will be available at commercially acceptable terms or at all .

Question: What is the average net cash used in operating activities in 2017 and 2018?
Answer: 12788