(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

text: B. Liquidity and Capital Resources
text: 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.
text: 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.
text: 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.
text: Cash provided by operating activities for the year ended December 31, 2019 as compared to the year ended December 31, 2018:
text: 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:

Questions:
question: What was the change in Net cash provided by operating activities between 2018 and 2019?
answer: 40.5
scale: million
question: Which years does the table provide information for cash flow?
answer: 2019
2018
2017
question: What was the net cash used in financing activities in 2019?
answer: (111,692)
scale: thousand
question: How many years did the Cash and cash equivalents and restricted cash, beginning of year exceed $150,000 thousand?
answer: 1
derivation: 2019
question: What was the change in Net cash  provided by investing activities between 2017 and 2019?
answer: -14102
derivation: -56,467-(-42,365)
scale: thousand
question: What was the percentage change in the Net cash provided by operating activities between 2017 and 2018?
answer: 15.63
derivation: (55,637-48,117)/48,117
scale: percent