int qizil=7;
int sariq=8;
int yashil=9;
void setup() {
  pinMode(qizil,OUTPUT);
  
  pinMode(sariq, OUTPUT);
  
  pinMode(yashil, OUTPUT);
  pinMode(3,OUTPUT);
  pinMode(4,OUTPUT);

}
void piyoda()
{
   digitalWrite(3,1);delay(400);
  digitalWrite(3,0); delay(200);
  digitalWrite(3,1); delay(300);
  digitalWrite(3,0); delay(200);
  digitalWrite(3,1); delay(400);
  digitalWrite(3,0); delay(200);
  digitalWrite(3,1); delay(300);
  digitalWrite(3,0);
}

void loop() {
  //qizil 
  digitalWrite(qizil,HIGH);digitalWrite(3,1);
  delay(5000);
  digitalWrite(qizil,LOW);
  //piyoda yashil
  digitalWrite(3,0);
  //sariq
  digitalWrite(sariq, HIGH);
  piyoda();
  delay(1000);
  digitalWrite(sariq, LOW);

  digitalWrite(yashil, HIGH);digitalWrite(4,1);
  delay(3000);
  digitalWrite(yashil, LOW);
  delay(800);
  digitalWrite(yashil, HIGH);
  delay(1000);
  digitalWrite(yashil, LOW);digitalWrite(4,0);
  delay(800);
  digitalWrite(yashil, HIGH);digitalWrite(4,1);
  delay(500);
  digitalWrite(yashil, LOW);digitalWrite(4,0);

  digitalWrite(sariq, HIGH);
  delay(1000);
  digitalWrite(sariq, LOW);

}
$abcdeabcde151015202530354045505560fghijfghij