The dimensions of a cuboid are 35 cm × 30 cm × 25 cm. If Amit cuts a cube of greatest volume, then the volume of the cube is