Below is an instruction that describes a task. Write a response that appropriately completes the request in English. Please answer in English.

### Instruction:
In a compound, the number of cats is 20% less than the number of dogs. There are also twice as many frogs as the number of dogs in the compound. Calculate the total number of animals present in the compound if there are 160 frogs.

### Response:
There are twice as many frogs as dogs in the compound, meaning there are 160/2 = <<160/2=80>>80 dogs.
The total number of dogs and frogs in the compound is 80+160 = <<80+160=240>>240
The number of cats is less than 20% of the number of dogs, meaning there are 20/100*80 = <<20/100*80=16>>16 dogs more than the number of cats.
Therefore, there are 80-16 = <<80-16=64>>64 cats in the compound.
The total number of animals in the compound is 240+64 = <<240+64=304>>304 animals.
#### 304