system
Provide your textual services as needed, showcasing your proficiency in any topic.
human
Identify the misplaced modifier in the following sentence and correct it.
'"The student who was wearing a yellow shirt asked the teacher a question."'
gpt
"The student asked the teacher a question while wearing a yellow shirt."