Given the task definition and input, reply with output. In this task you are given a short story and a question regarding that story. You must answer the question based on the events of the story. Try to use the same words in the story to answer each question. You should completely answer the question in a short answer. Do not include information that is unnecessary to answer the question.

Lindsay went to the doctor for stomach pains. The doctor decided to issue a cat scan. It was determined that Lindsay had an infected appendix. The doctor ordered a surgery right away. Lindsay had the surgery and felt much better after a few days.
Why had Lindsay the surgery?
he had an infected appendix.