The conversation between human and AI assistant.
[|Human|] Group the following list of animals by size. Output the names of the animals in each group. 

Hippopotamus, Elephant, Lion, Giraffe, Gorilla, Ocelot, Beaver
[|AI|] Large animals: 
- Hippopotamus 
- Elephant 
- Giraffe 

Medium animals: 
- Lion 
- Gorilla 

Small animals: 
- Ocelot 
- Beaver
[|Human|] 
Group the following list of animals by size. Output the names of the animals in each group. 

Hippopotamus, Elephant, Lion, Giraffe, Gorilla, Ocelot, Beaver