单项选择题

A. To show their willingness to obey.
B. To show their affection for masters.
C. To avoid being punished.
D. To win leadership of the dog pack.