int a=13;
int b=12;
int c=14;
int d=4;
int e=2;
int f=15;
int switch1=27;
int switch2=26;
int switch3=22;
void setup() {
  // put your setup code here, to run once:
  Serial.begin(115200);
  pinMode(a, OUTPUT);
  pinMode(b, OUTPUT);
  pinMode(c, OUTPUT);
  pinMode(d, OUTPUT);
  pinMode(e, OUTPUT);
  pinMode(f, OUTPUT);
  pinMode(27, INPUT);
  pinMode(26, INPUT);
  pinMode(22, INPUT);
}
void loop() {
  switch1=digitalRead(27);
  if(switch1==1){
  digitalWrite(a, HIGH);
  digitalWrite(f, HIGH);
  }
  else{
  digitalWrite(a, LOW);
  digitalWrite(f, LOW);
  }
  switch2=digitalRead(26);
  if(switch2==1){
  digitalWrite(b, HIGH);
  digitalWrite(d, HIGH);
}
else{
  digitalWrite(b, LOW);
  digitalWrite(d, LOW);
} 
switch3=digitalRead(22);
if(switch3==1){
  digitalWrite(c, HIGH);
  digitalWrite(e, HIGH);
}
else{
  digitalWrite(c, LOW);
  digitalWrite(e, LOW);
}
}