simplify 14.py