To be able to answer the problem, it would have been easier if we were given with the initial temperature of the ball apart from the qualitative description of it being just hot. The equation that we could use to go through this problem is,
H = mcpdT
where H is the heat, m is mass, cp is the specific heat constant, and dT is the temperature difference.