Definition: In this task, you're given a context passage. Your job is to generate relevant questions that can be answered by directly referring to the passage.

Positive Example 1 -
Input: Tracy slept awkwardly on their new bed and was having some pain, so Tracy cracked her neck.
Output: What did Tracy do with her neck?

Positive Example 2 -
Input: The story of the rise of politician Willie Stark from a rural county seat to the governor's mansion is depicted in the film. He goes into politics, railing against the corruptly run county government, but loses his race for county treasurer, in the face of unfair obstacles placed by the local machine. Stark teaches himself law, and as a lawyer, continues to fight the local establishment, championing the local people and gaining popularity. He eventually rises to become a candidate for governor, narrowly losing his first race, then winning on his second attempt. Along the way he loses his innocence and becomes as corrupt as the politicians he once fought against. When his son becomes paralyzed following a drunk driving accident that kills a female passenger, Stark's world starts to unravel and he discovers that not everyone can be bought off. The story has a complex series of relationships. All is seen through the eyes of the journalist, Jack Burden, who admires Stark and even when disillusioned still sticks by him. Stark's campaign assistant, Sadie is clearly in love with Stark and wants him to leave his wife, Lucy. Meanwhile, Stark philanders and gets involved with many women, taking Jack's own girlfriend, Anne Stanton, as his mistress. When Stark's reputation is brought into disrepute by Judge Stanton (Anne's uncle), he seeks to blacken the judge's name. When Jack finds evidence of the judge's possible wrongdoing, a quarter century earlier, he hides it from Stark. Anne gives the evidence to Stark, who uses it against her uncle, who immediately commits suicide. Anne seems to forgive Stark, but her brother, the surgeon who helped save Stark's son's life after the car crash, cannot. The doctor eventually assassinates Stark after Stark wins an impeachment investigation. The doctor in turn is shot down by Sugar Boy, Stark's fawning assistant. The main plot is a thinly disguised version of the rise of real-life 1930s Louisiana Governor, Huey Long, Long's efforts to blacken the name of Judge Benjamin Pavy, and Long's assassination by the Judge's son-in-law (compared to nephew, as in the film), Dr. Carl Weiss.
Output: What happened to Willie Stark's son?

Negative Example 1 -
Input: tracy wanted to feel safe so she decided to walk behind addison.
Output: What will happen to Tracy?

Negative Example 2 -
Input: Tracy told Ash they needed glasses then they accompanied them to the optician for their appointment.
Output: What does Tracy need to do before this?

Now complete the following example -
Input: It usually happens a lot where you're staying at a hotel, it's late at night, and you just want something to snack on. This happened to me during my family's most recent stay at a hotel. It was close to midnight, and I hadn't eaten a proper meal in hours for whatever reason. However, I knew that just down the hall from our hotel room, there were vending machines for both drinks and snacks. Knowing this, I got some loose dollars from my wallet, grabbed a room key, and went to the vending machines down the hall. I looked at the options that they had, and eventually settled for a bag of beef jerky out of the snack machine, as well as a water bottle from the drink machine. After getting my late night snack, I went back to the hotel room and enjoyed my beef jerky. I kept the water at my bedside overnight just in case I woke up thirsty.
Output: 



Output: Ho long did it take to decide what to buy?