const int buttonPin1 = 2;
const int buttonPin2 = 13;
const int buttonPin3 = 27;
const int ledPin1 = 5;
const int ledPin2 = 12;
int buttonState1 = 0;
int buttonState2 = 0;
int buttonState3 = 0;

void setup(){
  Serial.begin(9600);
  pinMode(buttonPin1, INPUT);
  pinMode(ledPin1, OUTPUT);
  pinMode(buttonPin2, INPUT);
  pinMode(ledPin2, OUTPUT);
  pinMode(buttonPin3, INPUT);
}

void loop(){
  buttonState1 = digitalRead(buttonPin1);
  Serial.println(buttonState1);
  if (buttonState1 == HIGH) {
    digitalWrite(ledPin1, HIGH);
  }
  else {
    digitalWrite(ledPin1, LOW);
  }

  buttonState2 = digitalRead(buttonPin2);
  Serial.println(buttonState2);
  if (buttonState2 == HIGH) {
    digitalWrite(ledPin2, HIGH);
  }
  else {
    digitalWrite(ledPin2, LOW);
  }

  buttonState3 = digitalRead(buttonPin3);
  Serial.println(buttonState3);
  if (buttonState3 == HIGH){
    digitalWrite(ledPin1, HIGH);
    digitalWrite(ledPin2, LOW);
  }
  else {
    digitalWrite(ledPin1, LOW);
    digitalWrite(ledPin2, HIGH);
  }
}