#define red 13
#define ye 10
#define gr 7
#define swRE 5
#define swYE 4
#define swGR 3

void setup() {
  pinMode(13, OUTPUT);
  pinMode(10, OUTPUT);
  pinMode(7, OUTPUT);
  pinMode(5, INPUT);
  pinMode(4, INPUT);
  pinMode(3, INPUT);
}

void loop() {
int  SW1 = digitalRead(5);
int  SW2 = digitalRead(4);
int  SW3 = digitalRead(3);

  if (SW1 == HIGH){
    digitalWrite(13, HIGH);
  }else{
    digitalWrite(13, LOW);
  }
  if (SW2 == HIGH){
    digitalWrite(10, HIGH);
  }else{
    digitalWrite(10, LOW);
  }
  if (SW3 == HIGH){
    digitalWrite(7, HIGH);
  }else{
    digitalWrite(7, LOW);
  }
}
$abcdeabcde151015202530354045505560fghijfghij