var I : Integer; S : Integer; begin S := 0; For I := Low(A) To High(A) Do If A[i] < I Then S := S + A[i];