235994
He studied at a grammar school ( gymnasium ) in Ružomberok 1772-76 , and later in Trnava and Vienna and graduated in theology at the general seminary in Preßburg in 1787 .
 location: Ružomberok; location: Trnava; location: Vienna; location: Preßburg
Given options, please tell me the categories of all the listed entity words.Output format is "type1: word1; type2: word2". 
Option: location, person, organization 
Text: {0} 
 Entities: Ružomberok, Trnava, Vienna, Preßburg 
Answer:
 location: Ružomberok; location: Trnava; location: Vienna; location: Preßburg