it's a well-known fact that dogs are intelligent creatures. they can learn commands, navigate complex…