There are three pieces of wood that are 8 meters, 12 meters, and 6 meters respectively. If they are to be cut into pieces of the same length, there should be no surplus. What is the longest length of each piece of wood?
有三根木料分别是8米、12米、6米，要把它们截成同样长的木料，不能有剩余，每段截成的木料最长是多少米？
<result>2</result>