Hint: Try finding the ones digit of the first few powers. You should see a pattern that you can prove. If you just want the specific answer, a spreadsheet with A1=1, A2=mod(2*A1,10), copy down 97 times gets you there.