import java.util.Scanner;
public class Main {
public static void main(String args[]) {
Scanner scn=new Scanner(System.in);
int x=scn.nextInt();
int rem,sum=0;
for(int i=1;i<=x;i++)
{ int n=scn.nextInt();
while(n!=0)
{
rem=n%10;
sum+=rem;
n=n/10;
}
if((sum%2==0)&&(sum/4==0)||(sum%2==1)&&(sum%3==0))
System.out.println(“yes”);
else
System.out.println(“no”);
}
}
}
check my code it run perfectly
but not get submitted