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 athletes advised the secretary near the judges .

Output: The judges advised the athletes .


Input: Consider Input: The lawyers that helped the managers called the president .

Output: The managers called the lawyers .


Input: Consider Input: The president next to the doctor thanked the scientist .


Output: The scientist thanked the doctor .