#define LED1 13
#define LED2 12
#define SW1 2
#define SW2 3
#define SW3 4
#define SW4 5
void setup() 
{
  pinMode(LED1,OUTPUT);pinMode(LED2,OUTPUT);
  pinMode(SW1,INPUT_PULLUP);pinMode(SW2,INPUT_PULLUP);
  pinMode(SW3,INPUT_PULLUP);pinMode(SW4,INPUT_PULLUP);
}
void loop() 
{
  if(digitalRead(SW1)==LOW)
    digitalWrite (LED1,HIGH);
  else if(digitalRead(SW2)==LOW)
    digitalWrite (LED1,LOW);
  else if(digitalRead(SW3)==LOW)
    digitalWrite (LED2,HIGH);
  else if(digitalRead(SW4)==LOW)
    digitalWrite(LED2,LOW);
}