Question 18Let $f$ be a function such that for any real number $x$, we have $f(x)+2f(2-x)=x+x^2$. Find the value of $f(1)+f(2)+f(3)+\cdots+f(34)$.