Definition: In this task, you're given a statement, 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'.
Input: Context: He was elected as a Republican to the Forty-fourth and Forty-fifth United States Congresses, serving in office from March 4, 1875 to March 3, 1879. Link Information: March 4, 1877: Rutherford B. Hayes became President of the United States Question: Who was the president of the United States when Sinnickson served in Congress?
Output:
Answer: Ulysses S. Grant