void setup() {
  pinMode(9, OUTPUT);
  pinMode(8, OUTPUT);
  pinMode(12, OUTPUT);
  pinMode(13, OUTPUT);
  pinMode(0, INPUT);
  pinMode(A0, INPUT);
  pinMode(A1, INPUT);
}
void loop() {
  digitalWrite(8,HIGH);
  digitalWrite(9,HIGH);
  digitalWrite(12,HIGH);
  digitalWrite(13,HIGH);
  tone(9, 260, 500);
  delay(1000);
  digitalWrite(8,LOW);
  digitalWrite(9,LOW);
  digitalWrite(12,LOW);
  digitalWrite(13,LOW);
  delay(1000);
  digitalWrite(13,HIGH);
  tone(9, 260, 500);
  delay(1000);
  digitalWrite(13,LOW);
  digitalWrite(12,HIGH);
  tone(9, 300, 500);
  delay(1000);
  digitalWrite(12,LOW);
  digitalWrite(8,HIGH);
  tone(9, 340, 500);
  delay(1000);
  digitalWrite(8,LOW);
  delay(1000);

}