149346
King David I ( son of Queen Margaret and Malcolm Canmore ) initially put up the money to found a school as part of the wider operations of Dunfermline Abbey in the early 1120s ( meaning Dunfermline has a claim against the Royal High School in Edinburgh and Glasgow High School for being the oldest in Scotland ) .
 location: Dunfermline; location: Dunfermline
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: Dunfermline, Dunfermline 
Answer:
 location: Dunfermline; location: Dunfermline