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.

Input: Consider Input: The tourists next to the manager thanked the senator .

Output: The senator thanked the tourists .


Input: Consider Input: The students encouraged the senators .

Output: The senators encouraged the students .


Input: Consider Input: The senator helped the manager behind the tourist .


Output: The manager helped the tourist .