Python Shift Left By Two Elements That Define