Definition: Given a disfluent sentence, modify the sentence to it to its equivalent fluent form, preserving the meaning of the sentence.
Input: How many or rather when the election produced an SNP majority government, what was it the first occurrence of?

When the election produced an SNP majority government, what was it the first occurrence of?