int red = 10;
int yellow = 9;
int green = 8;

void setup() {
  pinMode(red, OUTPUT);
  pinMode(yellow, OUTPUT);
  pinMode(green, OUTPUT);
}
void loop() {
  digitalWrite(red, HIGH);
  delay(3000);
  digitalWrite(red, LOW);
  
  digitalWrite(yellow, HIGH);
  delay(1000);
  digitalWrite(yellow, LOW);
  
  digitalWrite(green, HIGH);
  delay(3000);
  digitalWrite(green, LOW);
}
