Equal Coin problem code working perfectly but got wrong answer why?
int T = scan.nextInt(); if(T>=1||T<=1000){ while(T-->0){ int x = scan.nextInt(); int y = scan.nextInt(); if((x>=0||x<=100000000)&&(y>=0||y<=100000000)){ if((x+y)>0){ if(((x>1)&&(x%2==0))&&(y==0)){ out.println("YES"); }else if((x==0)&&(y>1)){ out.println("YES"); }else if(((x>1)&&(x%2==0))&&y>1){ out.println("YES"); }else{ out.println("NO"); } } } } } Please tell me any test case which make it wrong ............