I'll write " " to denote the set of whole numbers

Let be a whole number and let be a fixed whole number. Prove that

H = {x ∈ Z, such that ax ≡ 0 (mod n)}

is a subgroup of in the sum.

In the sum is the part where I'm confused... I though you could only multiply with modules...?