int i = 0;

void setup() 
{
 pinMode(13, OUTPUT);
 pinMode(2, INPUT);
 pinMode(4, INPUT);
 pinMode(7, INPUT);

}

void loop() 
{
int pushbutton1 = digitalRead(2);
int pushbutton2 = digitalRead(4);
int pushbutton3 = digitalRead(7);
if (pushbutton1 == HIGH)
{
  for (int i=0 ; i < 3 ; i++)
{
  kelip();
}
}

if (pushbutton2 == HIGH)
{
  for (int i=0 ; i < 4 ; i++)
{
  kelip();
}
}
if (pushbutton3 == HIGH)
{
  for (int i=0 ; i < 5 ; i++)
{
  kelip();
}
}
}
void kelip()
{
digitalWrite(13, HIGH);
 delay(500);
 digitalWrite(13,LOW);
 delay(500);

}