GPS and SD card problem

So should it be like this?

if(Serial3.available()>0 and Serial2.available()>0 and Serial1.available()>0 and ss.available()>0){
 Serial.println(ss.read());
 while(gps.encode(ss.read()){
.
.
.

Thanks for your reply!!