TASK DEFINITION: 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.
PROBLEM: The artists avoided the scientists who recommended the professor .

SOLUTION: The scientists avoided the the professor .

PROBLEM: The professor mentioned the managers .

SOLUTION: The managers mentioned the professor .

PROBLEM: The tourists called the doctor who the lawyer advised .

SOLUTION:
The lawyer called the tourists .