Complex sentence: The head of the Republic is an elected President, but the Prime Minister of Vanuatu is the head of government.
Split into simpler sentences: The head of the Republic is an elected President. The Prime Minister of Vanuatu is the head of government.