#include <Arduino.h>


const int ledPins[] = {23, 22, 21, 19, 18, 17};


const int numLeds = sizeof(ledPins) / sizeof(ledPins[0]);

void setup() {

  for (int pin : ledPins) {
    pinMode(pin, OUTPUT);
    digitalWrite(pin, LOW);
  }
}

void loop() {

  for (int i = 0; i < numLeds; i++) {
    digitalWrite(ledPins[i], HIGH);  
    delay(200);                      
    digitalWrite(ledPins[i], LOW);  
  }


}