Smart pumas know when to come inside