int a=26;
int b=27;
int c=33;
int d=4;
int e=21;
int f=14;
int g=32;

void setup() {
  pinMode(a, OUTPUT);
  pinMode(b, OUTPUT);
  pinMode(c, OUTPUT);
  pinMode(d, OUTPUT);
  pinMode(e, OUTPUT);
  pinMode(f, OUTPUT);
  pinMode(g, OUTPUT);
}

void loop() {
  digitalWrite(a, LOW);
   digitalWrite(b, LOW);
    digitalWrite(c, LOW);
     digitalWrite(d, LOW);
      digitalWrite(e, LOW);
       digitalWrite(f, LOW);
        digitalWrite(g, HIGH);
        delay(500);
   digitalWrite(a, HIGH);
   digitalWrite(b, LOW);
    digitalWrite(c, LOW);
     digitalWrite(d, HIGH);
      digitalWrite(e, HIGH);
       digitalWrite(f, HIGH);
        digitalWrite(g, HIGH);
        delay(500);
   digitalWrite(a, LOW);
   digitalWrite(b, LOW);
    digitalWrite(c, HIGH);
     digitalWrite(d, LOW);
      digitalWrite(e, LOW);
       digitalWrite(f, HIGH);
        digitalWrite(g, LOW);
        delay(500);   
  digitalWrite(a, LOW);
   digitalWrite(b, LOW);
    digitalWrite(c, LOW);
     digitalWrite(d, LOW);
      digitalWrite(e, HIGH);
       digitalWrite(f, HIGH);
        digitalWrite(g, LOW);
        delay(500);            
  digitalWrite(a, HIGH);
   digitalWrite(b, LOW);
    digitalWrite(c, LOW);
     digitalWrite(d, HIGH);
      digitalWrite(e, HIGH);
       digitalWrite(f, LOW);
        digitalWrite(g, LOW);
        delay(500);      
  digitalWrite(a, LOW);
   digitalWrite(b, HIGH);
    digitalWrite(c, LOW);
     digitalWrite(d, LOW);
      digitalWrite(e, HIGH);
       digitalWrite(f, LOW);
        digitalWrite(g, LOW);
        delay(500);                 
  digitalWrite(a, LOW);
   digitalWrite(b, HIGH);
    digitalWrite(c, LOW);
     digitalWrite(d, LOW);
      digitalWrite(e, LOW);
       digitalWrite(f, LOW);
        digitalWrite(g, LOW);
        delay(500); 
  digitalWrite(a, LOW);
   digitalWrite(b, LOW);
    digitalWrite(c, LOW);
     digitalWrite(d, HIGH);
      digitalWrite(e, HIGH);
       digitalWrite(f, HIGH);
        digitalWrite(g, HIGH);
        delay(500); 
  digitalWrite(a, LOW);
   digitalWrite(b, LOW);
    digitalWrite(c, LOW);
     digitalWrite(d, LOW);
      digitalWrite(e, LOW);
       digitalWrite(f, LOW);
        digitalWrite(g,LOW );
        delay(500); 
   digitalWrite(a, LOW);
   digitalWrite(b, LOW);
    digitalWrite(c, LOW);
     digitalWrite(d, LOW);
      digitalWrite(e, HIGH);
       digitalWrite(f, LOW);
        digitalWrite(g,LOW );
        delay(500);                                             
}