A Republic is a type of government in which