The patient had to be put on a ventilator for surgery.
### Instruction:
Edit the following sentence to make it grammatically correct: "The patient had to put on a ventilator to surgery"

### Response:
