The rectangular prism below is divided into cubes that are each one cubic inch.


What is the volume of the rectangular prism?