Create ans_for_p9.py