long ms;

void setup() {
  // put your setup code here, to run once:
  pinMode(3, OUTPUT);

  for (int i = 5; i <= 6; i++)
  {
    pinMode(i, OUTPUT);
  }

  for (int i = 9; i <= 11; i++)
  {
    pinMode(i, OUTPUT);
  }

  ms = millis() + 5000;
}

void loop() {
  // put your main code here, to run repeatedly:
    digitalWrite(3, 1);
    digitalWrite(9, 1);
    digitalWrite(5, 0);
    digitalWrite(10, 0);
    delay(2500);
    digitalWrite(5, 1);
    digitalWrite(10, 1);
    digitalWrite(6, 0);
    digitalWrite(11, 0);
    delay(2500);
    digitalWrite(3, 0);
    digitalWrite(9, 0);
    digitalWrite(5, 0);
    digitalWrite(10, 0);
    digitalWrite(6, 1);
    digitalWrite(11, 1);
    delay(25000);
    digitalWrite(5, 1);
    digitalWrite(10, 1);
    digitalWrite(6, 0);
    digitalWrite(11, 0);
    delay(2500);
}