Dogs sympathize with each other