The first half of D says we don't have gymnastics class today, and the second so means we don't have to wear sports shoes.
B there is no such match, so we don't have to wear support shoes.
Doesn't have to mean "unnecessary"
We don't have gymnastics class today, so we don't need to wear sports shoes.
-Jun Wolf Hunting Team will answer your questions.