Let the two numbers be \(x\) and \(y\), such that \(x > y\). We are given:
\[
x + y = 21 \quad \text{and} \quad x - y = 11
\]
By solving this system of equations, we add them:
\[
2x = 32 \quad \Rightarrow \quad x = 16
\]
Thus, the greatest number is \(16\).