In this task, you are given a premise sentence. Your task is to write a new sentence by substituting the subject and object (i.e., the input's subject should be output's object and vice versa.). The generated sentence must be fluent and shouldn't change the voice (i.e., passive or active) of the input.

[EX Q]: The senator saw the professors by the students .
[EX A]: The professors saw the students .

[EX Q]: The professor encouraged the doctors that the bankers avoided .
[EX A]: The bankers encouraged the professor .

[EX Q]: The president thanked the author next to the artist .
[EX A]:
The author thanked the artist .