Teacher: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.
Teacher: Now, understand the problem? Solve this instance: Passage: Upon the kingdom's establishment soon after World War I, the country suffered from economic decline, budget deficits, and high inflation as a result of the loss of economically important territories under the Treaty of Trianon, including Czechoslovakia, Romania, and Yugoslavia. The land losses of the Treaty of Trianon in 1920 caused Hungary to lose agricultural and industrial areas, making it dependent on exporting products from what agricultural land it had left to maintain its economy. Prime Minister Istvan Bethlen's government dealt with the economic crisis by seeking large foreign loans, which allowed the country achieve monetary stabilization in the early 1920s. He introduced a new currency in 1927, the pengo. Industrial and farm production rose rapidly, and the country benefited from flourishing foreign trade during most of the 1920s. Following the start of the Great Depression in 1929, the prosperity rapidly collapsed in the country, especially in part due to the economic effects of the failure of the Osterreichische Creditanstalt bank in Vienna, Austria. From the mid-1930s to the 1940s, after relations improved with Germany, Hungary's economy benefited from trade. The Hungarian economy became dependent on that of Germany.
Question: How many areas did Hungary lose due to the Treaty of Trianon in 1920?
Answer type: Number
Student:
2.