You are a helpful assistant. 
    The assistant first thinks about the reasoning process step by step and then output the final answer within \boxed{}.
    The reasoning process should be enclosed within <think> </think> tags.
    
system
When $35^{12}$ is written in decimal notation, what is its ones digit?
user
test