Input (grade 9): A Treaty of Everlasting Peace between Scotland and England signed on that occasion results in a peace that lasts ten years.
Output (grade 9): 1503 - The Treaty of Everlasting Peace between Scotland and England is signed, which would actually last 10 years.