Given the task definition and input, reply with output. This task involves creating questions from a given passage that involve some kind of complex reasoning (including numerical reasoning).
The generated questions must require looking at more than one part of the passage to answer. Try to use a variety of reasoning types in your questions (some of the sample reasoning types are illustrated in the 'positive examples' field) and also have a variety of answer types (spans, numbers, dates). A span is a continuous phrase taken directly from the passage or question. In such questions, the answer spans are recommended to be five words. Questions with answer type "number", are expected to start with "How many". For instance, "How long did an event last?" can be phrased as "How many years did an event last?". To increase diversity, try to create more questions for which the answer will be multiple spans. Please create questions that require AT LEAST 2 arithmetic operations as illustrated in the 'positive examples' field. You are encouraged to try DIFFERENT COMBINATIONS of operations and not just limit to the combinations shown in those examples. The more challenging questions you create, the better it is.

Passage: The First Slovak Republic received back both the territories lost in 1938 and annexed the territories "lost" in 1920-1924. This re-annexation happened in October 1939 when Slovakia supported Nazi Germany's attack on Poland in September 1939. The annexation by the puppet state of Slovakia saved the Slovak and a smaller Polish population of the area from the naked terror of Nazi Germany as it was practised in the General Government until Slovakia agreed to take part in the Holocaust, but even then the genocidal policy was directed exclusively against the Jews and Gypsies. In January 1945, these border territories were liberated by the Soviet Red Army. The inhabitants of Orava and Spis created authorities similar to those in the remaining Czechoslovakia and sought to prevent Polish authorities, which were trying to recover the territories they had before World War II, from entering the region. The Czechoslovak President Benes, however, decided to give the territories regained during World War II to Poland again , although Slovak organised poll on the territories showed support of the population in favour of Czechoslovakia. There were many protests in the form of delegations visiting the president, petitions to Prague and Poland, protests by American Slovaks and protests by the Slovak clergy. Despite these, on 20 May 1945, the pre-World War II borders between Czechoslovakia and Poland were restored.
Across how many years did the First Slovak Republic lose territories?