The square \begin{center} \begin{tabular}{|c|c|c|} \hline 18 & \textit{b} & \textit{c} \\ \hline \textit{d} & \textit{e} & \textit{f} \\ \hline \textit{g} & \textit{h} & 2 \\ \hline \end{tabular} \end{center} is a multiplicative magic square: the product of the numbers in each row, column, and diagonal is the same. If all the entries are positive integers, what is the sum of the possible values of $g$?
← Back to Problem 1,041