5214 FOR J=1 TO N