TASK DEFINITION: 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.
PROBLEM: Passage: In an attempt to take the castle, Itakura Shigemasa was killed. More shogunate troops under Matsudaira Nobutsuna, Itakura's replacement, soon arrived. However, the rebels at Hara Castle resisted the siege for months and caused the shogunate heavy losses. Both sides had a hard time fighting in winter conditions. On February 3, 1638, a rebel raid killed 2,000 warriors from the Hizen Domain. However, despite this minor victory, the rebels slowly ran out of food, ammunition and other provisions. By April 1638, there were over 27,000 rebels facing about 125,000 shogunate soldiers. Desperate rebels mounted an assault against them on April 4 and were forced to withdraw. Captured survivors and the fortress' rumored sole traitor, Yamada Emosaku, revealed the fortress was out of food and gunpowder. On April 12, 1638, troops under the command of the Kuroda clan of Hizen stormed the fortress and captured the outer defenses. The rebels continued to hold out and caused heavy casualties until they were routed on April 15. 
Question: In what year was Itakura Shigemasa killed? 
Answer type: Date 

SOLUTION: {'day': '', 'month': '', 'year': '1637'}.

PROBLEM: Passage: Bangkok is one of the worlds top tourist destinations. Of 162 cities worldwide, MasterCard ranked Bangkok as the top destination city by international visitor arrivals in its Global Destination Cities Index 2018, ahead of London, with just over 20 million overnight visitors in 2017. This was a repeat of its 2017 ranking (for 2016). Euromonitor International ranked Bangkok fourth in its Top City Destinations Ranking for 2016. Bangkok was also named "Worlds Best City" by Travel + Leisure magazines survey of its readers for four consecutive years, from 2010 to 2013. As the main gateway through which visitors arrive in Thailand, Bangkok is visited by the majority of international tourists to the country. Domestic tourism is also prominent. The Department of Tourism recorded 26,861,095 Thai and 11,361,808 foreign visitors to Bangkok in 2010. Lodgings were made by 15,031,244 guests, who occupied 49.9 percent of the citys 86,687 hotel rooms. Bangkok also topped the list as the worlds most popular tourist destinations in 2017 rankings. 
Question: How many Thai and other foreign visitors to Bangkok were there in 2010? 
Answer type: Number 

SOLUTION: 38222903.

PROBLEM: Passage: The Attempted coup of 1924 in Estonia , conducted by the Comintern, was a failed coup attempt in Estonia staged by Communists   on December 1, 1924.   Of the 279 actively participating communists, 125 were killed in action, later more than 500 people were arrested. The government forces lost 26 men. During the Soviet occupation of Estonia from 1940 until the era of Perestroika and Glasnost in the Soviet history of the Estonian SSR the communist coup attempt was referred to as Tallinn Uprising of December 1, 1924 against the Yoke of the National Bourgeoisie Government of Estonia and described as an event in the series of World revolution. 
Question: How many was the minimum amount of communists that were arrested in the Estonia coup of 1924? 
Answer type: Number 

SOLUTION:
500.