Instructions: This task involves annotating the answer type to a given question that involve some kind of complex reasoning (including numerical reasoning). Note that the questions require looking at more than one part of the passage to answer. There are 3 possible answer types (i) spans, (ii) numbers and (iii) dates. If the answer can be found in the passage, label it as "span". If the answer is a number, label as "number". Similarly, label "date" if you think the answer to the given question is a date.
Input: Passage: Levis returned to France on parole, and was released for service in Europe by William Pitt. He served in the German campaigns of 1762, and retired from active military service when the war ended in 1763 with the Peace of Paris. He was appointed governor of Artois in 1765. He was promoted to Marshal of France in 1783, and was raised to the inheritable title Duc de Levis in 1784. He died in 1787 in Arras, France, and was succeeded as duke of Levis by his son Pierre-Marc-Gaston, who escaped to England during the French Revolution. His widow and three daughters were sent to the guillotine during the French Revolution. He left his name to Levis, Quebec, across the river from Quebec City.
Question: How many years after serving in the German campaigns did Levis etired from active military service?
Output:
number