Table:
Years Ended December 31,

2019	2018	2017

Cash (used in) provided by:

Operating activities	$(426)	$(2,694)	$14,314

Investing activities	(251)	(6,876)	(5,142)

Financing activities	5,798	3,624	8,420

Net increase (decrease) in cash and cash equivalents	$5,121	$(5,946)	$17,592

Watch the table in this image and convert it into a Latex table in the text form.

\begin{tabular}{|c|c|c|c|}
\hline
  &  & Years Ended December 31, &    \\
\hline
  & 2019 & 2018 & 2017   \\
\hline
 Cash (used in) provided by: &  &  &    \\
\hline
 Operating activities & \$(426) & \$(2,694) & \$14,314   \\
\hline
 Investing activities & (251) & (6,876) & (5,142)   \\
\hline
 Financing activities & 5,798 & 3,624 & 8,420   \\
\hline
 Net increase (decrease) in cash and cash equivalents & \$5,121 & \$(5,946) & \$17,592   \\
\hline
\end{tabular}