The polynomial $P(x)=(1+x+x^2+\cdots+x^{17})^2-x^{17}$ has $34$ complex roots of the form $z_k=r_k[\cos(2\pi a_k)+i\sin(2\pi a_k)]$, $k=1,2,3,\ldots,34$, with $0<a_1\leq a_2\leq a_3\leq\cdots\leq a_{34}<1$ and $r_k>0$. Given that $a_1+a_2+a_3+a_4+a_5=m/n$, where $m$ and $n$ are relatively prime positive integers, find $m+n$.