instruction:
This task involves creating answers to complex questions, from a given passage. Answering these questions, typically involve understanding multiple sentences. Make sure that your answer has the same type as the "answer type" mentioned in input. The provided "answer type" can be of any of the following types: "span", "date", "number". A "span" answer is a continuous phrase taken directly from the passage or question. You can directly copy-paste the text from the passage or the question for span type answers. If you find multiple spans, please add them all as a comma separated list. Please restrict each span to five words. A "number" type answer can include a digit specifying an actual value. For "date" type answers, use DD MM YYYY format e.g. 11 Jan 1992. If full date is not available in the passage you can write partial date such as 1992 or Jan 1992. If you find multiple spans, please add them all as a comma separated list. Please restrict each span to five words.
question:
Passage: In 2000 there were 79,667 households out of which 38.70% had children under the age of 18 living with them, 61.90% were married couples living together, 10.20% had a female householder with no husband present, and 24.20% were non-families. 19.70% of all households were made up of individuals and 6.80% had someone living alone who was 65 years of age or older.  The average household size was 2.72 and the average family size was 3.14. 
Question: Approximately how many of the households sampled in 2000 had children under 18 living with them? 
Answer type: Number 
answer:
30831.


question:
Passage: Coming off their win over the Lions, the Texans closed out their four-game home stand against the winless Cincinnati Bengals. In the first quarter, Houston drew first blood as WR Jacoby Jones returned a punt 73 yards for a touchdown.  The Bengals responded with kicker Shayne Graham getting a 43-yard field goal.  The Texans increased their lead as QB Matt Schaub completed a 6-yard TD pass to WR David Anderson.  Cincinnati would close out the half as Graham nailed a 32-yard field goal. In the third quarter, Houston began to pull away as Schaub completed a 7-yard and a 39-yard TD pass to WR Kevin Walter.  In the fourth quarter, the Texans closed out their home stand in style with rookie RB Steve Slaton getting a 20-yard TD run. With the win, not only did Houston improve to 3-4, but they won three straight games for the first time in franchise history. 
Question: how many yards did graham get? 
Answer type: Number 
answer:
43.


question:
Passage: The Livonian War  was fought for control of Old Livonia , when the Tsardom of Russia faced a varying coalition of Denmark-Norway, the Kingdom of Sweden, and the Union  of the Grand Duchy of Lithuania and the Kingdom of Poland. During the period 1558-1578, Russia dominated the region with early military successes at Dorpat  and Narva. Russian dissolution of the Livonian Confederation brought Poland-Lithuania into the conflict, while Sweden and Denmark both intervened between 1559 and 1561. Swedish Estonia was established despite constant invasion from Russia, and Frederick II of Denmark bought the old Bishopric of Ösel-Wiek, which he placed under the control of his brother Magnus of Holstein. Magnus attempted to expand his Livonian holdings to establish the Russian vassal state Kingdom of Livonia, which nominally existed until his defection in 1576. In 1576, Stefan Batory became King of Poland as well as Grand Duke of Lithuania and turned the tide of the war with his successes between 1578 and 1581, including the joint Swedish-Polish-Lithuanian offensive at the Battle of Wenden. This was followed by an extended campaign through Russia culminating in the long and difficult siege of Pskov. Under the 1582 Truce of Jam Zapolski, which ended the war between Russia and Poland-Lithuania, Russia lost all its former holdings in Livonia and Polotsk to Poland-Lithuania. The following year, Sweden and Russia signed the Truce of Plussa with Sweden gaining most of Ingria and northern Livonia while retaining the Duchy of Estonia. 
Question: How many years after Magnus' defection did the Truce of Jam Zapolski occur? 
Answer type: Number 
answer:

6.