You will be given a definition of a task first, then some input of the task.
Given a disfluent sentence, modify the sentence to it to its equivalent fluent form, preserving the meaning of the sentence.

Who took over the Bakersfield erm San Joaquin Valley Railroad branchlines?
Output:
Who took over the San Joaquin Valley Railroad branchlines?