Definition: Given a disfluent sentence, modify the sentence to it to its equivalent fluent form, preserving the meaning of the sentence.
Input: During which years was the plague present in Islamic countries or wait in what year did the residents of Baghdad first become affected by the plague?

In what year did the residents of Baghdad first become affected by the plague?