Two spheres A and B have same radius but the heat capacity of A is greater than that of B. The surfaces of both are painted black. They are heated to the same temperature and allowed to cool.