CAYLEY 1999 Problem 13

The units digit in the product \left(5^2+1\right)\left(5^3+1\right)\left(5^{23}+1\right) is

Answer Choices
A. 0
B. 1
C. 2
D. 5
E. 6