5670 FOR M=1 TO 3