50414
Its capital used to be Ternate , on a small island to the west of the large island of Halmahera , but has been moved to Sofifi on Halmahera itself .
 Ternate, Halmahera, Sofifi, Halmahera
Please list all entity words in the text that fit the category. Output format is "word1, word2". 
Option: location, person, organization 
Text: {0} 
Answer:
 Ternate, Halmahera, Sofifi, Halmahera