recive some Int data with serial!

Hi all, some time ago that I'm programming two Arduinos. The first Arduino sends several Int data as follows:

0,0,0,0,0,0,0,0,1234,1234,1234,1234,1234,1234,1234,1234,0,0,0,0,0,0,0,0,0,0,0,0

So far so good, but the problem is in the Arduino that receives this data.
Some data are lost and do not know how they get everyone.

Here you have the code, it does not work properly.

int a1; 
int a2; 
int a3; 
int a4; 
int a5; 
int a6;
int a7; 
int a8; 
int a9; 
int a10; 
int a11; 
int a12; 
int a13; 
int a14; 
int a15; 
int a16; 
int a17; 
int a18; 
int a19; 
int a20; 
int a21; 
int a22; 
int a23; 
int a24; 
int a25;
int a26; 
int a27;
int a28; 


 
void setup()
{
   
  //serials 
  Serial.begin(19200);
  Serial2.begin(19200);
  Serial3.begin(57600);

}

void loop()
{
if(Serial3.available() > 0 )
  {       
         //ESTATS
     a1 = Serial3.parseInt();
     a2 = Serial3.parseInt(); 
     a3 = Serial3.parseInt(); 
     a4 = Serial3.parseInt(); 
     a5 = Serial3.parseInt(); 
     a6 = Serial3.parseInt();
     a7 = Serial3.parseInt(); 
     a8 = Serial3.parseInt(); 
     a9 = Serial3.parseInt();
     a10 = Serial3.parseInt(); 
     a11 = Serial3.parseInt(); 
     a12 = Serial3.parseInt();
     a13 = Serial3.parseInt(); 
     a14 = Serial3.parseInt(); 
     a15 = Serial3.parseInt();
         
      a16 = Serial3.parseInt(); 
      a17 = Serial3.parseInt(); 
      a18 = Serial3.parseInt();
      a19 = Serial3.parseInt(); 
      a20 = Serial3.parseInt(); 
      a21 = Serial3.parseInt()
      a22 = Serial3.parseInt(); 
      a23 = Serial3.parseInt(); 
      a24 = Serial3.parseInt(); 
      a25 = Serial3.parseInt(); 
      a26 = Serial3.parseInt(); 
      a27 = Serial3.parseInt();
      a28 = Serial3.parseInt(); 
     Serial3.flush();
  }
}

Help please, thank you very much!

Code? How are they wired? Gnds connected between them?

The below is for servos, but might give you an idea for receiving your data and converting it into an integer.

//zoomkat 3-5-12 simple delimited ',' string parse 
//from serial port input (via serial monitor)
//and print result out serial port

String readString;
#include <Servo.h> 
Servo myservo;  // create servo object to control a servo 

void setup() {
  Serial.begin(9600);

  myservo.writeMicroseconds(1500); //set initial servo position if desired
  myservo.attach(7);  //the pin for the servo control 
  Serial.println("servo-delomit-test-22-dual-input"); // so I can keep track of what is loaded
}

void loop() {

  //expect a string like 700, or 1500, or 2000,
  //or like 30, or 90, or 180,

  if (Serial.available())  {
    char c = Serial.read();  //gets one byte from serial buffer
    if (c == ',') {
      if (readString.length() >0) {
        Serial.println(readString); //prints string to serial port out

        int n = readString.toInt();  //convert readString into a number

        // auto select appropriate value, copied from someone elses code.
        if(n >= 500)
        {
          Serial.print("writing Microseconds: ");
          Serial.println(n);
          myservo.writeMicroseconds(n);
        }
        else
        {   
          Serial.print("writing Angle: ");
          Serial.println(n);
          myservo.write(n);
        }

        //do stuff with the captured readString 
        readString=""; //clears variable for new input
      }
    }  
    else {     
      readString += c; //makes the string readString
    }
  }
}

This seems like the same question and the same project as in your other Thread ?

Why are you double posting ?

...R