Trying to answer this question, I encountered the following question, the answer to which should be known but it is hard to Google, so I did not find it.
Let $G=\prod_{n\in\mathbb N}\mathbb Z_n$ be a full product of finite cyclic groups $\mathbb Z_n=\mathbb Z/n\mathbb Z$. Exists there a homomorphism $f:G\to\mathbb Z$ such that $f((1,1,\dots))=1$?
According to this question, my question should be equivalent to the following.
Is the group $\{(m,m,\dots)\in G: m\in\mathbb Z\}$ a direct summand of the group $G$?