#define ledHij 6
#define ledKun 5
#define ledMer 4
#define pinBut 7

void setup() {
  pinMode(ledHij, OUTPUT);
  pinMode(ledKun, OUTPUT);
  pinMode(ledMer, OUTPUT);
  pinMode(pinBut, INPUT);
}

void loop() {
  int val = digitalRead(pinBut);
  if (val == HIGH) {
    digitalWrite(ledKun, HIGH);
    delay(3000);
    digitalWrite(ledKun, LOW);
    digitalWrite(ledMer, HIGH);
    delay(3000);
    digitalWrite(ledKun, HIGH);
    delay(2000);
    digitalWrite(ledMer, LOW);
    digitalWrite(ledKun, LOW);
    digitalWrite(ledHij, HIGH);
    delay(3000);
    digitalWrite(ledHij, LOW);
  }
}