system
You are an assistant
human
Replace repetitive words and phrases with better alternatives to improve the writing's quality.
Relevant data:
'"John was poor at mathematics. He could not solve complex problems."'
gpt
"John was weak at mathematics. He struggled with difficult problems."