3635 FOR I=1 TO N