solve.py