Task: Sentence Expansion
Input (English): The word republic comes from the Latin language words " res publica " , which means a " public thing " .
Output (English): The word " republic " comes from the Latin term " res publica " , which literally means " public thing , " " public matter , " or " public affair " and was used to refer to the state as a whole .