At a pet hotel there are nightly loding rates. For small dogs $21, $26 for medium dogs, $31 for large dogs, and $14 for cats. One night there were 31 guest.
The guest included twice as many small dogs as medium dogs
Large dogs were the smallest number of animals in the hotel.
There were seven times as many cats as there were large dogs.
The hotel collected $598 in guest fees for the evening.
How many ofe ach kind and size of pet stayed at the hotel that night?