int BP1 = 7, BP2 = 8, LED = 9;
void setup() {
  pinMode(BP1, INPUT);
  pinMode(BP2, INPUT);
  pinMode(LED, OUTPUT);
}
void loop() {
  if ((digitalRead(BP1) == LOW) && (digitalRead(BP2) == LOW)
{
  digitalWrite(LED, LOW);
else if ((digitalRead(BP1) == LOW) && (digitalRead(BP2) == HIGH)
{

    digitalWrite(LED, HIGH);
      delay(1000);
      digitalWrite(LED, LOW);
      delay(1000);
    }

    else if ((digitalRead(BP1) == HIGH) && (digitalRead(BP2) == LOW)
  {

    digitalWrite(LED, HIGH);
      delay(500);
      digitalWrite(LED, LOW);
      delay(500);
    }
  }
  else
  {
    digitalWrite(LED, LOW);
  }
}
$abcdeabcde151015202530fghijfghij