int M=6;
int K=5;
int H=4;

int i;

void setup() {
pinMode(M, OUTPUT);
pinMode(K, OUTPUT);
pinMode(H, OUTPUT);

}

void loop() {
for(i=0; i<5; i++){
  digitalWrite(M,HIGH);
  delay(1000);
  digitalWrite(M,LOW);
  delay(1000);
 }
 for(i=0; i<3; i++){
   digitalWrite(K, HIGH);
   delay(1000);
   digitalWrite(K,LOW);
   delay(1000);
 }
 for(i=0; i<1; i++){
   digitalWrite(H,HIGH);
   delay(1000);
   digitalWrite(H,LOW);
   delay(1000);
 }
 for(i=0; i<3; i++){
  digitalWrite(M,HIGH);
  digitalWrite(K,HIGH);
  digitalWrite(H,HIGH);
  delay(1000);
  digitalWrite(M, LOW);
  digitalWrite(K, LOW);
  digitalWrite(H, LOW);
  delay(1000);
 }
}