5676 FOR M=1 TO 3