Find with proof the number of units in the ring $$R=\mathbb{Z}_8 \times \mathbb{Z}_9 \times \mathbb{Z}_5$$
Since $\gcd(5,8,9)=1$, by Chinese Remainder Theorem, I get $R=\mathbb{Z}_{360}$
Since $\mathbb{Z}_{360}$ is not a field, not all elements has inverse. Then I get nowhere from here. Can anyone guide me ?