A uniform chain of mass 8kg and length 2m lies on a smooth horizontal table, with one quarter of its length hanging vertically over the edge. The chain is held at rest. Taking g=10m/s2, the least work needed to pull the hanging part slowly back onto the table, in joules, is ____.