Python Split String Based On Two Years