Task: Explanation
Input (English): James II (16 October 1430 – 3 August 1460), who reigned as king of Scots from 1437 on, was the son of James I and Joan Beaufort. Nothing is known of his early life, but by his first birthday his twin and only brother, Alexander, who was also the older twin, had died, thus making James the heir apparent and Duke of Rothesay. On 21 February 1437, James I was assassinated and the six-year-old Duke of Rothesay immediately succeeded him as James II. Question: Who was the wife of the king of the Scots who was assassinated on 21 February 1437? Answer: Mary of Guelders
Output (English): James II 16 October 1430 – 3 August 1460, who reigned as king of Scots from 1437 on, was the son of James I and Joan Beaufort.