Five cubes are lined up to form a solid. The side lengths of the cubes are 1 ft, 2 ft, 3 ft, 4 ft, and 5 ft.

What is the volume of the solid?