Answer the riddle.
I am a pet.
I like to wag my tail.
I bark.
What am I?
A. a cat
B. a dog
Determine the correct option from the provided choices and reply with its corresponding letter.

B