6. In the same cage, there are chickens and rabbits. The number of rabbits is 5 less than 4 times the number of chickens, and the chickens and rabbits together have 160 legs. The total number of chickens and rabbits in the cage is $\qquad$.