serial monitor not stop sending data

hi everyone,

i’m doing electronic abacus project where i need to display the number of the beads. right now i have done installing infra red sensor for two row of the beads. so i need to display two places of number, but what happen at the serial monitor it keep printing the number causing madness to me to make the display. it work well when i simulate using proteus. but it turn to be disaster when i upload it to the hardware

at the attachment is the printscreen, is the example where it should print number for 83, 84, and 89 for three different time, but what happen it print the number continuosly

below is the source code

int button1= 22;
int button2= 23;
int button3= 24;
int button4= 25;
int button5= 26;
int button6= 27;
int button7= 28;
int button8= 29;
int button9=30;
int button10=31;
int tambah=0;
int jawapan;
int baca;
int hantar;
int a;
int b;
int c;
int d;
int e;
int f;
int g;
int h;
int i;
int j;

void setup()
{
  Serial.begin(9600);
  pinMode(button1, INPUT);
  pinMode(button2, INPUT);
  pinMode(button3, INPUT);
  pinMode(button4, INPUT);
  pinMode(button5, INPUT);
  pinMode(button6, INPUT);
  pinMode(button7, INPUT);
  pinMode(button8, INPUT);
  pinMode(button9, INPUT);
  pinMode(button10,INPUT);
  pinMode(tambah, INPUT);
}


void loop()
{
  baca:
  

if (digitalRead(button1)==HIGH);
  {
   a = 0;
   delay(10);
   
  }
  
 if (digitalRead(button1)==LOW)
 {
  a=5;
 delay(10);

 
 }
 if (digitalRead (button2) ==LOW && digitalRead (button3)==HIGH && digitalRead (button4)== HIGH && digitalRead(button5)==LOW)
 {
  b = 1;
  c =0;
  d=0;
  e=0;
  delay(10); 
 }
 
 if (digitalRead (button2)==LOW && digitalRead (button3) == LOW  && digitalRead (button4)==HIGH && digitalRead (button5)==HIGH)
 {
  b=1 ;
  c=1;
  d=0;
  e=0;
 delay(10); 
 }
 
 
 if (digitalRead (button2)==LOW && digitalRead (button3) == LOW  && digitalRead (button4)==LOW && digitalRead (button5)==HIGH)
 {
  b=1;
 c=1 ;
  d=1;
  e=0;
 delay(10); 
 }
 
 
 if (digitalRead (button2)==LOW && digitalRead (button3) == LOW  && digitalRead (button4)==LOW && digitalRead (button5)==LOW)
 {
  e=1;
  b=1;
  c=1;
  d=1;
  
 delay(10); 
 }
 
 if(digitalRead (button2)==HIGH && digitalRead(button3)==HIGH && digitalRead(button4)==LOW && digitalRead(button5)==LOW)
 {
   e=0;
   b=0;
   c=0;
   d=0;
 }
 
 if (digitalRead(button6)==LOW)
 {
   f = 50;
   delay(10);
 }
 if (digitalRead(button6)==HIGH)
 {
  f=0;
 delay(10); 
 }
 
 if(digitalRead(button7)==LOW && digitalRead(button8)==HIGH && digitalRead(button9)==HIGH && digitalRead(button10)==HIGH)
 {
   g=10;
   h=0;
   i=0;
   j=0;
   delay(10);
 }
 
 if(digitalRead(button7)==LOW && digitalRead(button8)==LOW && digitalRead(button9)==HIGH && digitalRead(button10)==HIGH)
 {
   g=10;
   h=10;
   i=0;
   j=0;
   delay(10);
 }
 
  if(digitalRead(button7)==LOW && digitalRead(button8)==LOW && digitalRead(button9)==LOW && digitalRead(button10)==HIGH)
 {
   g=10;
   h=10;
   i=10;
   j=0;
   delay(10);
 }
 
 if(digitalRead(button7)==LOW && digitalRead(button8)==LOW && digitalRead(button9)==LOW && digitalRead(button10)==LOW)
 {
   g=10;
   h=10;
   i=10;
   j=10;
   delay(10);
 }




jawapan:
   
   hantar=a+b+c+d+e+f+g+h+i+j;
   
   
 
// else 
// {
//   a = 0;
// delay (1000);
//
// } s

//while (digitalRead(tambah)==LOW)
 Serial.print (hantar);
 delay (10000);
 //goto baca;
// if (digitalRead(tambah)== LOW)
 //{
  //goto jawapan; 
 //}
 //if(digitalRead (tambah)==HIGH)
 //{
  // goto baca;   
 //}
 //if(digitalRead (tambah)==LOW)
 //{
  //goto jawapan; 
 //}
 }

please help me

serialprint.JPG