For the Years Ended December 31,
For the Years Ended December 31,
For the Years Ended December 31,
2019
2018
2017
(in thousands)
(in thousands)
(in thousands)
Net cash provided by (used in) operating activities
$(9,885)
$25,601
$16,586
Net cash used in investing activities
$(3,822)
(13,203)
(1,873)
Net cash provided by (used in) financing activities
$—
(21,556)
12,778
cash flows for the year ended december 31 2019 2018 and 2017 .
operating activities : net cash used in operating activities was $ 9 .
9 million for the year ended december 31 2019 and is comprised of $ 16 .
5 million in net loss $ 4 .
5 million change in deferred income taxes and $ 0 .
7 million loss from the sale of the investment in jvp offset by $ 1 .
0 million in stock based compensation $ 2 .
0 million in depreciation and amortization and $ 7 .
1 million primarily changes in net operating assets and liabilities .
net cash provided by operating activities was $ 25 .
6 million for the year ended december 31 2018 and is comprised of $ 20 .
7 million in net income $ 1 .
6 million in stock-based compensation $ 1 .
8 million in depreciation and amortization $ 3 .
4 million change in warrant liability and a change in deferred income taxes of $ 2 .
5 million offset by a $ 4 .
4 million change in net operating assets and liabilities .
net cash provided by operating activities was $ 16 .
6 million for the year ended december 31 2017 and is comprised of $ 22 .
8 million in net income $ 0 .
8 million in stock-based compensation $ 0 .
8 million in depreciation and amortization $ 0 .
6 million change in net operating assets and liabilities offset by $ 2 .
2 million change in the warrant liability and a change in deferred income taxes of $ 6 .
2 million .
investing activities : during the year ended december 31 2019 cash used in investing activities of $ 3 .
8 million was related to purchases of marketable securities of $ 24 .
5 million purchases of property and equipment of $ 0 .
4 million and purchase of additional investment in jvp of $ 0 .
7 million offset by redemptions of marketable securities of $ 18 .
3 million and $ 3 .
5 million from the sale of our interest in jvp .
during the year ended december 31 2018 cash used in investing activities of $ 13 .
2 million was related to purchase of investments of $ 11 .
3 million the purchase of assets under the may 2018 patent assignment agreement of $ 1 .
0 million and a $ 0 .
9 million investment in the jvp fund .
during the year ended december 31 2017 cash used in investing activities of $ 2 .
0 million was related to the purchase of assets under the first patent assignment agreement offset by $ 0 .
1 million in cash distribution received from our investment in the jvp fund .
financing activities : during the year ended december 31 2019 we did not have any activity related to financing .
during the year ended december 31 2018 net cash used in financing activities of $ 21 .
6 million was primarily from the redemption of series a-1 preferred stock totaling $ 19 .
9 million $ 2 .
0 million related to the share repurchase program offset by $ 0 .
3 million of proceeds received from the exercise of stock options .
during the year ended december 31 2017 net cash provided by financing activities of $ 12 .
8 million was primarily from the issuance of series a-1 preferred stock totaling $ 14 .
4 million and a common share offering for $ 12 .
0 million offset by redeeming and retiring series a preferred stock financing of $ 13 .
8 million .

Question: What is the average net cash provided by (used in) financing activities between 2017 and 2018?
Answer: -4389