5. For any real numbers $a, b$, the inequality
$$
\max \{|a+b|,|a-b|,|2006-b|\} \geqslant c
$$

always holds, then the maximum value of the constant $c$ is $\qquad$ (where, $\max \{x, y, z\}$ denotes the maximum of $x, y, z$).