Teacher: Given a passage and a question, find the answer to the question based on the passage. The answer should consist of only one word that lies in the span of only one of the sentences in the passage.
Teacher: Now, understand the problem? If you are still confused, see the following example:
Paragraph: Nix v. Hedden , 149 U.S. 304 ( 1893 ) , was a decision by the Supreme Court of the United States that , under U.S. customs regulations , the tomato should be classified as a vegetable rather than a fruit . The Court 's unanimous opinion held that the Tariff Act of 1883 used the ordinary meaning of the words '' fruit '' and '' vegetable , '' instead of the technical botanical meaning .
Question: is tomato a fruit or vegetable us supreme court

Solution: vegetable
Reason: The answer 'vegetable' is correct as it lies in the sentence - "Nix v. Hedden , 149 U.S. 304 ( 1893 ) , was a decision by the Supreme Court of the United States that , under U.S. customs regulations , the tomato should be classified as a vegetable rather than a fruit ", which is a part of the passage.

Now, solve this instance: Paragraph: Shelob is a fictional giant spider from J.R.R. Tolkien 's Middle - earth legendarium . She appears at the end of the fourth book , second volume ( The Two Towers ) , of The Lord of the Rings . Her lair lies in Cirith Ungol ( '' the pass of the spider '' ) leading into Mordor . Gollum deliberately leads Frodo Baggins there in hopes of recovering the One Ring when Shelob attacks Frodo . The plan is foiled when Samwise Gamgee greatly injures Shelob with Frodo 's Elvish dagger , Sting , and the Phial of Galadriel .
Question: name of spider from lord of the rings

Student:
Shelob