In this task, you're given a passage, further information available on a particular linked term from the statement, and a question. Your job is to generate the answer to the question by using the information provided. If there is no clear answer obtainable, output 'none'.

Ex Input:
Passage: He was born in St. Johns, Canada East. The son of Edward Hartley Dewart, a Methodist minister who was a staunch advocate of prohibition, the younger Dewart inherited his Liberal politics but broke with his father on the temperance issue becoming a firm opponent of prohibition, a move that would cost him dearly later in life. He studied at the University of Toronto and Osgoode Hall and was called to the Ontario bar in 1887. Dewart set up practice in Toronto and served as crown attorney for York County from 1891 to 1904. He was first elected to the provincial legislature in a 1916 by-election after the death of James Joseph Foy in the Toronto Southwest electoral district, becoming the first Liberal to win a Toronto seat in a quarter century. In 1919, he became leader of the Ontario Liberal Party. He resigned as leader in 1921 due to opposition within his caucus to his anti-prohibitionist stance. He returned to private practice and died at his home near Uxbridge in 1924.
Link Information: James Joseph "J.J." Foy (February 22, 1847 June 13, 1916) Question: How old was the person Hartley replaced in 1916 at the time of his death?

Ex Output:
Answer: 69

Ex Input:
Passage: In the spring of 1868 he made his first trip to the edge of Central Asia, traveling with a Russian merchant, Vasilii Alekseich, by steamboat down the Volga to Samara, then by carriage to Orenburg, which at the time was the base for Russian military operations The Russians had occupied the Khanate of Bukhara in 1866 and were advancing toward Samarkand. In 1868, Schuyler was a guest of Tolstoi for a week at his estate at Yasnaya Polyana, at the time when Tolstoi was finishing War and Peace. He helped Tolstoi rearrange his library, and went hunting with him. Tolstoi, who was interested in public education in the United States, asked Schuyler for copies of American primers and school textbooks. Schuyler received Tolstoi's permission to translate his novel The Cossacks into English. In 1869, the new Administration of President Ulysses Grant removed Schuyler from his post in Moscow and replaced him with a political appointee. Schuyler was able to obtain a post as consul to the Russian port of Reval (now Tallinn). In November, 1869, President Grant appointed a new Minister to Russia, Andrew Curtin, a former Governor of Pennsylvania who knew nothing of Russia. Curtin was impressed by Schuyler and appointed him as the secretary of the American legation in St. Petersburg, a post which Schuyler held until 1876.
Link Information: none Question: How long had the Khanate of Bukhara been in existence when the Russians occupied the territory?

Ex Output:
Answer: none

Ex Input:
Passage: A position of great trust and responsibility, the Senate secretaryship has been held by a long line of distinguished individuals. Samuel Allyne Otis, the first secretary of the Senate, had previously been speaker of the Massachusetts legislature and a member of the Continental Congress. Otis held the post of secretary for twenty-five years, never missing a day that the Senate was in session. General Anson McCook of New York, a former House member and one of the "Fighting McCooks" of the Civil War, served as secretary, as well as a former Confederate general and Congressman, William R. Cox of North Carolina. In addition, two former U.S. senators, Charles Cutts of New Hampshire and Walter Lowrie of Pennsylvania, have later served as secretary. Other former House members who have held the post include Charles G. Bennett (NY). During the Ninety-ninth Congress (19851987), Jo-Anne Coe became the first woman to serve as secretary.
Link Information: none Question: Which of the Secretaries that served in the Civil War held the post of Secretary longer?

Ex Output:
Answer: none