Extract the the materials used to build beaver dams from the following passage and separate them with a comma.
Beavers need trees and shrubs to use as building material for dams, which restrict flowing water to create a pond for them to live in, and for lodges, which act as shelters and refuges from predators and the elements. Without such material, beavers dig burrows into a bank to live. Dam construction begins in late summer or early fall, and they repair them whenever needed. Beavers can cut down trees up to 15 cm (5.9 in) wide in less than 50 minutes. Thicker trees, at 25 cm (9.8 in) wide or more, may not fall for hours. When chewing down a tree, beavers switch between biting with the left and right side of the mouth. Tree branches are then cut and carried to their destination with the powerful jaw and neck muscles. Other building materials, like mud and rocks, are held by the forelimbs and tucked between the chin and chest.
Beavers use the following materials to build their dams: trees, shrubs, mud, rocks.
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction: Extract the the materials used to build beaver dams from the following passage and separate them with a comma.
### Input: Beavers need trees and shrubs to use as building material for dams, which restrict flowing water to create a pond for them to live in, and for lodges, which act as shelters and refuges from predators and the elements. Without such material, beavers dig burrows into a bank to live. Dam construction begins in late summer or early fall, and they repair them whenever needed. Beavers can cut down trees up to 15 cm (5.9 in) wide in less than 50 minutes. Thicker trees, at 25 cm (9.8 in) wide or more, may not fall for hours. When chewing down a tree, beavers switch between biting with the left and right side of the mouth. Tree branches are then cut and carried to their destination with the powerful jaw and neck muscles. Other building materials, like mud and rocks, are held by the forelimbs and tucked between the chin and chest.
### Response: Beavers use the following materials to build their dams: trees, shrubs, mud, rocks.