Two pieces of metal (A and B) are identical in every way, except that A has a much larger thermal expansion coefficient. If equal amounts of heat are added to both pieces of metal, which metal does more work on its surroundings?