republic — form of government where the head of state is elected