package series.C05S03_loops;

public class C05EX08a {
    public static void main(String[] args) {
        
        int sum = 0;
        for (int i = 0; i <= 1000; i++) {
            sum += i;
        }
        System.out.println(sum);

    }
}
