Definition: The task is to generate the correct answer for a given math problem.
Input: Problem: a solid metallic spherical ball of diameter 6 cm is melted and recast into a cone with diameter of the base as 12 cm . the height of the cone is :
