When $35^{12}$ is written in decimal notation, what is its ones digit?
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
When $35^{12}$ is written in decimal notation, what is its ones digit?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
5
When $35^{12}$ is written in decimal notation, what is its ones digit?
train