#define b1 10
#define b2 11
#define b3 12
#define red 9
#define green 8
#define blue 7
int bb,br,bg,cr=0,cg=0,cb=0;



void setup() {
  // put your setup code here, to run once:
Serial.begin(9600);
pinMode(b1, INPUT_PULLUP);
pinMode(b2, INPUT_PULLUP);
pinMode(b3, INPUT_PULLUP);
pinMode(red,OUTPUT);
pinMode(green,OUTPUT);
pinMode(blue, OUTPUT);
Serial.print("Click any fucking button you black monkey");

}

void loop() {
  // put your main code here, to run repeatedly:
bb=digitalRead(b1);
br=digitalRead(b2);
bg=digitalRead(b3);
if (bb==0)
{
delay(200);
cb++;
if(cb%2==1)
 digitalWrite(red, HIGH);
else
  digitalWrite(red, LOW);

}
if (br==0)
{
delay(200);
cr++;
if(cr%2==1)
  digitalWrite(blue, HIGH);
else
  digitalWrite(blue, LOW);
}
if (bg==0)
{
delay(200);
cg++;
if(cg%2==1)
  digitalWrite(green, HIGH);
else
  digitalWrite(green, LOW);
}






}