Update longest_3.py