int LED0=12;
int LED1=11;
int LED2=10;
int sw_start=7;
void setup (){
  pinMode(sw_start, INPUT);
  pinMode(LED0, OUTPUT);
  pinMode(LED1, OUTPUT);
  pinMode(LED2, OUTPUT);

}
int a=0;
void loop (){
  if(digitalRead(sw_start)==LOW){
  a=!a;
  digitalWrite(LED0,a);
  digitalWrite(LED1,a);
  delay(5000);
  digitalWrite(LED0,a);
  digitalWrite(LED1,0);
  digitalWrite(LED2,1);

  }
  if (digitalRead(sw_start)==LOW){
    digitalWrite(LED0,0);
    digitalWrite(LED1,0);
    digitalWrite(LED2,0);}
  }