Who to let in first?

If your dog is barking at the back door and your wife is yelling at the front door, who do you let in first?

The dog, of course. He’ll stop whining once you let him in.