Running shoes does not wore to participate in yoga.
One of the following sentences is nonsensical. Which one is it?

A: "he wore running shoes to participate in yoga"
B: "he wore running shoes to participate in marathon"