Complex sentence: In Scotland, Scots differed in its input to the Great Vowel Shift, the long vowels, and shifted to, and by the Middle Scots period, had shifted to in Early Scots and remained unaffected.
Split into simpler sentences: In Scotland, Scots differed in its input to the Great Vowel Shift. The long vowels, and shifted to, and by the Middle Scots period, had shifted to in Early Scots and remained unaffected.