Q: The task is to generate the correct answer for a given math problem.
Problem: what is the remainder when 12987 ^ ( 65987036 ) is divided by 5 ?
A:
1