\begin{center}
\begin{tabular}{|>{\columncolor{gray!20}}r|*3{c|}}
\hline\rowcolor{gray!20}
& A &  B & Total\\
\hline
C & 16 & 8 & 24\\
\hline
D & 12 & 14 & 26\\
\hline
E & 6 & 10 & 16\\
\hline
Total & 34 & 32 & 66\\
\hline
\end{tabular}
\end{center}