Table:
2019	2018	2017

Restaurants sold to franchisees	—	135	178

New restaurants opened by franchisees	19	11	18

Proceeds from the sale of company-operated restaurants:

Cash (1)	$1,280	$26,486	$99,591

Notes receivable	—	70,461	—

$1,280	$96,947	$99,591

Net assets sold (primarily property and equipment)	$—	$(21,329)	$(30,597)

Lease commitment charges (2)	—	—	(11,737)

Goodwill related to the sale of company-operated restaurants	(2)	(4,663)	(10,062)

Other (3)	88	(24,791)	(9,161)

Gains on the sale of company-operated restaurants	$1,366	$46,164	$38,034

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

\begin{tabular}{|c|c|c|c|}
\hline
  & 2019 & 2018 & 2017   \\
\hline
 Restaurants sold to franchisees & — & 135 & 178   \\
\hline
 New restaurants opened by franchisees & 19 & 11 & 18   \\
\hline
 Proceeds from the sale of company-operated restaurants: &  &  &    \\
\hline
 Cash (1) & \$1,280 & \$26,486 & \$99,591   \\
\hline
 Notes receivable & — & 70,461 & —   \\
\hline
  & \$1,280 & \$96,947 & \$99,591   \\
\hline
  &  &  &    \\
\hline
 Net assets sold (primarily property and equipment) & \$— & \$(21,329) & \$(30,597)   \\
\hline
 Lease commitment charges (2) & — & — & (11,737)   \\
\hline
 Goodwill related to the sale of company-operated restaurants & (2) & (4,663) & (10,062)   \\
\hline
 Other (3) & 88 & (24,791) & (9,161)   \\
\hline
 Gains on the sale of company-operated restaurants & \$1,366 & \$46,164 & \$38,034   \\
\hline
\end{tabular}