Python Divide List By Intelligent