Group the following list of animals into those that live on land and those that live in the water.
blobfish, giraffe, duck, elephant
Animals that live on land: giraffe, elephant
Animals that live in water: blobfish

Animal that can live both on land and in water: duck
Complete the following task based on the instruction and optional input provided.### Instruction:
Group the following list of animals into those that live on land and those that live in the water.

### Input:
blobfish, giraffe, duck, elephant

### Output:
Animals that live on land: giraffe, elephant
Animals that live in water: blobfish

Animal that can live both on land and in water: duck