Can someone please review my code for ODD EVEN DELHI Problem

import java.util.*;
public class Main {
public static void main(String args[]) {
Scanner sc = new Scanner(System.in);
int no_of_cars = sc.nextInt();
int sum1=0, sum2=0;
while(no_of_cars–>0)
{
int number = sc.nextInt();
while(number!=0)
{
int rem = number%10;
number=number/10;
if(rem%2==0)
{
sum1= sum1+rem;
}
else
{
sum2=sum2+rem;
}

	    }
	}
	if(sum1%4==0 || sum2%3==0)
	{
	    System.out.println("Yes");
	   
	}
	else
	{
	    System.out.println("No");
	}

}
}

I am getting only answer
Yes
not prinitng answer for 2nd number