(in thousands of U.S. dollars)
Year Ended December 31, 2019
Year Ended December 31, 2018
Year Ended December 31, 2017
Net cash provided by operating activities
$96,112
$55,637
$48,117
Net cash (used in)/ provided by investing activities
(56,467)
27,863
(42,365)
Net cash used in financing activities
(111,692)
(66,916)
(12,940)
(Decrease)/Increase in cash and cash equivalents and restricted cash
(72,047)
16,584
(7,188)
Cash and cash equivalents and restricted cash, beginning of year
150,774
134,190
141,378
Cash and cash equivalents and restricted cash, end of year
$78,727
150,774
$134,190
b .
liquidity and capital resources .
navios holdings has historically financed its capital requirements with cash flows from operations issuances of debt securities and borrowings under bank credit facilities .
main uses of funds have been refinancings of outstanding debt capital expenditures for the acquisition of new vessels new construction and upgrades at the port terminals and expenditures incurred in connection with ensuring that the owned vessels comply with international and regulatory standards .
navios holdings may from time to time subject to restrictions under its debt and equity instruments including limitations on dividends and repurchases under its preferred stock depending upon market conditions and financing needs use available funds to refinance or repurchase its debt in privately negotiated or open market transactions by tender offer or otherwise in compliance with applicable laws rules and regulations at prices and on terms navios holdings deems appropriate -which may be below par and subject to navios holdings cash requirements for other purposes compliance with the covenants under navios holdings ’ debt agreements and other factors management deems relevant .
generally our sources of funds may be from cash flows from operations long-term borrowings and other debt or equity financings proceeds from asset sales and proceeds from sale of our stake in our investments .
we cannot assure you that we will be able to secure adequate financing or obtain additional funds on favorable terms to meet our liquidity needs .
see “ item 4 .
b business overview — exercise of vessel purchase options ” “ working capital position ” and “ long-term debt obligations and credit arrangements ” for further discussion of navios holdings ’ working capital position .
the following table presents cash flow information for each of the years ended december 31 2019 2018 and 2017 and were adjusted to reflect the adoption of asu 2016-18 statement of cash flows -topic 230 : restricted cash .
cash provided by operating activities for the year ended december 31 2019 as compared to the year ended december 31 2018 : .
net cash provided by operating activities increased by $ 40 .
5 million to $ 96 .
1 million for the year ended december 31 2019 as compared to $ 55 .
6 million for the year ended december 31 2018 .
in determining net cash provided by operating activities net loss is adjusted for the effects of certain non-cash items which may be analyzed in detail as follows : .

Question: How many years did the Cash and cash equivalents and restricted cash, beginning of year exceed $150,000 thousand?
Answer: 1