Given the task definition and input, reply with output. In this task, you are given a text which is the body of a document. Your job is to classify the topic of the document into these categories: 1)Company, 2)Educational Institution, 3)Artist, 4)Athlete, 5)Office Holder, 6)Mean of transportation, 7)Building, 8)Natural place, 9)Village, 10)Animal, 11)Plant, 12)Album, 13)Film, 14)Written work. Your output should be the category number. Don't generate anything apart from numbers 1-14.

Text: William Gilbert Weir (July 1 1896 December 12 1971) was a Canadian politician and was the longest serving Liberal-Progressive Member of Parliament in Canadian history sitting in the Canadian House of Commons for 27 years. Born in Port Perry Ontario Weir was a farmer by occupation. He was first elected to the Canadian House of Commons representing the riding of Macdonald Manitoba defeating his sole rival by 499 votes Conservative candidate John Woods in the 1930 federal election.
5