How to calculate $1900^{13} \pmod{2537}$
I should be able to do this problem but I don't figure a fast way of calculating it.
Edit: I find reduced the problem to solve:
$X≡12^{13}$mod$59$ and $X≡2^{39}$mod$43$
and I don't know how to solve
$X≡12^{13}$mod$59$