Definition: 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.
Input: Text:  The Class E851 was a class of four DC electric locomotives operated by the private railway operator Seibu Railway in Japan between 1969 and 1996.Built in 1969 by Mitsubishi to haul 1000-tonne cement trains the design was based on the JNR Class EF65 and used bogies similar to those used on the JNR Class EF81 locomotives.From 30 November 1990 the discontinuation of freight services to Sayamagaoka eliminated the need for double-heading and the end of all Seibu freight services from 7 March 1996 saw the E851s become surplus to requirements. 

6