Question 20Find all functions $f: \mathbb{R} \to \mathbb{R}$ such that, for every real number $a$, the function $g(x) = f(x + a)$ is either an even or odd function.