\[\boxed{\mathbf{171.}}\]
\[400 + 300 = 700 < 900\]
\[300 + 700 = 1000 > 900\]
\[500 + 400 = 900\]
\[600 - 500 = 100 < 500\]
\[800 - 300 = 500\]
\[1000 - 600 = 400 < 500\]