<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\documentclass{article}
\usepackage[T1]{fontenc}
\begin{document}

\begin{tabular}{|c|c|c|c|c|}	

\hline
\multicolumn{5}{|c|}{\textbf{Animals and friends}}	\\	
\hline
 	&amp;	\multicolumn{2}{|c|}{\emph{Cats}}	&amp;	\multicolumn{2}{|c|}{\emph{Dogs}}	\\	
\hline
 	&amp;	\textsc{John}	&amp;	\textsc{Martha}	&amp;	\textsc{John}	&amp;	\textsc{Martha}	\\	
\hline
\textbf{Black}	&amp;	2	&amp;	5	&amp;	5	&amp;	0	\\	
\hline
\textbf{White}	&amp;	4	&amp;	1	&amp;	0	&amp;	5	\\	
\hline
\textbf{Red}	&amp;	2	&amp;	1	&amp;	\multicolumn{2}{|c|}{Not known}	\\	
\hline
\end{tabular}

\end{document}
</pre></body></html>