Rachel has a collection of 40 stuffed animals, of the animals, 3/8 are beats and 1/5 are dogs. The rest are other animals. How many other animals does she have?