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: Coming off their first win of the year against the Saints, the Rams flew to Bill Walsh Field at Monster Park for a Week 11 NFC West rematch with the throwback-clad San Francisco 49ers.  In the first quarter, St. Louis drew first blood as QB Marc Bulger completed a 3-yard TD pass to WR Torry Holt.  The 49ers responded with kicker Joe Nedney getting a 28-yard TD field goal.  In the second quarter, the Rams increased their lead with kicker Jeff Wilkins getting a 49-yard field goal for the only score of the period. After a scoreless third quarter, St. Louis continued its domination as Wilkins kicked a 35-yard field goal.  San Francisco tried to come back as Nedney nailed a 38-yard and a 46-yard field goal, yet St. Louis managed to hold a late drive to seal the victory. With the win, not only did the Rams improve to 2-8, but they also became the sixth NFL franchise to reach 500 overall wins. WR Isaac Bruce ended this game with 13,795 career receiving yards (6th All-Time). 
Question: How many field goals did Joe Nedney score over 30 yards? 
Answer type: Number 
answer:
2.


question:
Passage: Henry VI, elected King of the Romans since 1169, succeeded his father Frederick and was crowned Holy Roman Emperor by Pope Celestine III in 1191. In his struggle with the Princes to enforce his succession, the tide turned in his favour when the returning crusader King Richard was captured in Austria and only released against an oath of allegiance and an enormous ransom. In 1194 Henry could assert the inheritance claims of his wife Constance by conquering the Kingdom of Sicily. By declaring a new Crusade to reconquer Jerusalem, Henry aimed at an agreement with Pope Celestine III to acknowledge his rule over Sicily. In 1195 the armistice concluded by King Richard ended. Sultan Saladin had already died in 1193 and a conflict over his succession raged in the Ayyubid lands. In view of these favourable developments, the emperor hoped to continue the momentum of the previous campaign. Henry VI decided to take advantage of his father's threat of force against  the Byzantine Empire, affected by the rebellions in Serbia and Bulgaria as well as by Seljuk incursions. Emperor Isaac II Angelos had maintained close ties with the Sicilian ursurper king Tancred of Lecce, he was overthrown in April 1195 by his brother Alexios III Angelos. Henry took the occasion to exact tribute and had a threatening letter sent to the Byzantine emperor in order to finance the planned Crusade. Alexius immediately submitted to the tributary demands and exacted high taxes from his subjects to pay the Crusaders 5,000 pounds of gold. Henry also forged alliances with King Amalric of Cyprus and Prince Leo of Cilicia. 
Question: How many years did the armistice with King Richard last? 
Answer type: Number 
answer:
2.


question:
Passage: While Polish-Lithuanian army concentrated in Podolia, in deep south of the enormous Commonwealth, on August 19, 1621, a Swedish army landed near Pärnu , carried by a fleet of 148 vessels . Gustav Adolf had 14,700 infantry, 3,150 cavalry and 375 cannons. Swedes immediately marched towards Riga, and besieged it on 29 August. The capital of Livonia was defended by a garrison of 300 soldiers, plus 3,700 armed residents. Lithuanian Field Hetman Krzysztof Radziwiłł had only 1,500 soldiers at his disposal, as most units were in Podolia and Red Ruthenia. Riga capitulated on September 25, after a month siege and three assaults. On October 2, Swedes captured the fortress of Dunamunde. The invaders, marching through marshes and forests to avoid Lithuanian cavalry, entered the Duchy of Courland and Semigallia, capturing its capital, Mitau without resistance. Swedes then tried to capture the fortress of Koknese, but failed to do so, after a skirmish with Lithuanian cavalry of Aleksander Gosiewski. In early January 1622, the Swedes captured Valmiera, together with several smaller Livonian castles. Meanwhile, the forces under Hetman Radziwill grew to 3 000, which enabled the Lithuanians to seal several Swedish garrisons. On January 7, Radziwiłł recaptured Mitau, but for lack of artillery, he failed to seize its castle, whose garrison did not capitulate until July 6. A few weeks later, in late July 1622, main Swedish forces reached Mittau, and a prolonged battle ensued. Since the battle turned into a stalemate, on August 10, 1622, both sides signed a truce, which in 1623 was prolonged until March 1625. During the negotiations, envoys of Gustav Adolf suggested a Swedish-Lithuanian union. 
Question: How many soldiers and residents in total defended the capital of Livonia? 
Answer type: Number 
answer:

4000.