\[1 - 3p - 7q\]
\[p = 18\ \ и\ \ q = - 9:\]
\[1 - 3 \cdot 18 - 7 \cdot ( - 9) =\]
\[= 1 - 54 + 63 = 10.\]
\[p = q = - 8:\]
\[1 - 3 \cdot ( - 8) - 7 \cdot ( - 8) =\]
\[= 1 + 24 + 56 = 81.\]