Euler87.py