Delhi odd even problem

what wrong in this code… it runs prefectly in elicpse but when i submit code in this they say irs wrong
import java.util.*;
public class Main {
public static void main(String args[]) {
Scanner s = new Scanner(System.in);
int t = s.nextInt();
if(t<=1000) {
for(int i =1;i<=t;i++)
{
int n = s.nextInt();
if(n>=0 && n<=1000000000)
{
int sodd =0;
int seven =0;
while(n !=0) {
int r = n%10;
if(r%2==0)
{
seven = seven + r
;
}
else
{
sodd = sodd +r;
}
n = n/10;

    }  
    if(seven %4 ==0 || sodd %3 ==0)
    {
    	System.out.println("yes");
    }
    else
    {
    	System.out.println("no");
    }
   }
}
}
}

}

@mayanktiwari6957,
https://ide.codingblocks.com/s/252237 corrected code.

Your logic is correct. Just print “Yes” instead of “yes” and “No” instead of “no”.

then why they says your code is wrong

@mayanktiwari6957,

Only the output is evaluated buddy not the process of getting that output. And in the output format it is mentioned that you have to print “Yes” and “No”.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.