Spherical ball A is hung down from a massless, inextensible string that is connected to a wall. Spherical ball B lies motionless on a horizontal floor. The same quantity of heat $Q$ is supplied to both balls. Assuming no heat losses, are the final temperatures of the balls the same? If not, estimate the difference in the final temperatures in terms of parameters of your choice. (International Physics Olympiad)