Can you rewrite the sentence with the proper modifier? “I have a list of the people who danced on the table.”

I have a list of people who danced on the table.

I have a list of the people who danced on the table.

Certainly! To rewrite the sentence with the proper modifier, you can say: "I have a list of the people who danced on the table."