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: The episode demonstrated to both Scotland and England the fruitlessness of their struggles. Thereafter, with France's fortunes falling and England's rising, the terms came to seem more favourable to the Scots, and in 1357 they were accepted after all, formalized in the Treaty of Berwick, under the terms of which Scotland would pay England 100,000 merks over a ten-year period. With the signing of the Treaty of Berwick, the Second War of Scottish Independence was effectively over. Even before the signing of the treaty, in January 1356, Edward Balliol weary and ill had relinquished his claim in the kingdom of Scotland to Edward III in exchange for an annuity of 2000. He retired to live the rest of his life in the area of Yorkshire. David II returned to Scotland, to try again to deal with the rivalries of his lords as well as now among his ladies, as his wife Joan evidently objected to the English mistress he had taken during his 11 years in captivity. The treaty did impose a financial hardship on Scotland, but David II stopped paying after only 20,000 merks of the debt had been met, following which renegotiation led ultimately to a reduction in the debt and a 14-year truce.
Question: How many years before the signing of the Treaty of Berwick had Edward Balliol relinquished his claim to the kingdom of Scotland?
Answer type: Number
Student:
1.