python longest seq