What is the remainder when 54487^(42787035) is divided by 5?	Pick:
A) 0 B) 1 C) 2 D) 3 E) 4
We need to find the units digit of the number.   The units digit of powers of seven repeats 7, 9, 3, and 1 cyclically.   Since 42787035 has the form 4a + 3, the units digit is 3.   Then the remainder when dividing by 5 is 3.   The answer is 3.
<result>D</result>
What is the remainder when 54487^(42787035) is divided by 5?