Text: Why, yes.
Entailment: The speaker is flabergasted that someone thought it wouldn't be "yes"
Contradiction: No.