The Chess Move Validation hole will go live in approximately 5 hours. Why not try and solve it ahead of time?
Jacobi Symbol in Python in bytes.