The four-digit number $\underline{374n}$ is divisible by 18. Find the units digit $n$.
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
The four-digit number $\underline{374n}$ is divisible by 18. Find the units digit $n$.
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
4
The four-digit number $\underline{374n}$ is divisible by 18. Find the units digit $n$.
train