int led1=14;
int led2=27;
int led3=26;
int led4=25;
int masa=100;

void setup() {
  pinMode(led1, OUTPUT);
  pinMode(led2, OUTPUT);
  pinMode(led3, OUTPUT);
  pinMode(led4, OUTPUT);
}

void loop() {
  digitalWrite(led1, HIGH);
  delay(masa);
  digitalWrite(led1, LOW);
  digitalWrite(led2, HIGH);
  delay(masa);
  digitalWrite(led2, LOW);
  digitalWrite(led3, HIGH);
  delay(masa);
  digitalWrite(led3, LOW);
  digitalWrite(led4, HIGH);
  delay(masa);
  digitalWrite(led4, LOW);
  digitalWrite(led3, HIGH);
  delay(masa);
  digitalWrite(led3, LOW);
  digitalWrite(led2, HIGH);
  delay(masa);
  digitalWrite(led2, LOW);
}