Suppose $R$ is a unitary ring and $S$ has no zero divisor. Prove that if $f$ is a homomorphic function from $R$ to $S$ then $S$ is unitary.
My attempt: I think if S is going to be unitary, then it's unit element should be the image of the unit element of R. but no idea for starting...