
int k=100;
void setup() {
  // put your setup code here, to run once:
pinMode(13,OUTPUT);
pinMode(22,INPUT);
pinMode(23,INPUT);
}

void loop() 
{
if (digitalRead(22)==HIGH or digitalRead(23)==HIGH )
{
   digitalWrite(13,HIGH);
  delay(k);
    digitalWrite(13,LOW);
  delay(k*30);
  }
 else {
 (digitalWrite(13,HIGH));
 delay(k*5); 
  digitalWrite(13,LOW);
  delay(k/2);
 }
}
