system
Answer the question or perform the task.
human
Add proper punctuation to the following sentence to convey the intended meaning.

'The teacher said I was smart he gave me an A on the test.'
gpt
The teacher said I was smart; he gave me an A on the test.