Table:
Fiscal 2017 Restructuring Plan	Workforce reduction	Facility costs	Total

Balance payable as at June 30, 2017	$10,045	$1,369	$11,414

Accruals and adjustments	3,432	3,775	7,207

Cash payments	(12,342)	(1,627)	(13,969)

Foreign exchange and other non-cash adjustments	455	(86)	369

Balance payable as at June 30, 2018	$1,590	$3,431	$5,021

Accruals and adjustments	(254)	1,152	898

Cash payments	(213)	(1,290)	(1,503)

Foreign exchange and other non-cash adjustments	(77)	(344)	(421)

Balance payable as at June 30, 2019	$1,046	$2,949	$3,995

Given a table image, can you convert the table into a Latex table in the text form?

\begin{tabular}{|c|c|c|c|}
\hline
 Fiscal 2017 Restructuring Plan & Workforce reduction & Facility costs & Total   \\
\hline
 Balance payable as at June 30, 2017 & \$10,045 & \$1,369 & \$11,414   \\
\hline
 Accruals and adjustments & 3,432 & 3,775 & 7,207   \\
\hline
 Cash payments & (12,342) & (1,627) & (13,969)   \\
\hline
 Foreign exchange and other non-cash adjustments & 455 & (86) & 369   \\
\hline
 Balance payable as at June 30, 2018 & \$1,590 & \$3,431 & \$5,021   \\
\hline
 Accruals and adjustments & (254) & 1,152 & 898   \\
\hline
 Cash payments & (213) & (1,290) & (1,503)   \\
\hline
 Foreign exchange and other non-cash adjustments & (77) & (344) & (421)   \\
\hline
 Balance payable as at June 30, 2019 & \$1,046 & \$2,949 & \$3,995   \\
\hline
\end{tabular}