Problem delhi odd even

what is the problem in code=====

import java.util.*;
public class Main {
public static void main(String args[]) {
Scanner cin = new Scanner(System.in);
int t = cin.nextInt();
while(t>0){
long m = cin.nextLong(), o = 0, e = 0;
while(m>0){
long d = m % 10;
if(d%2==0){
e = e+d;
}else{
o = o+d;
}
}
if(e%4 == 0 || o%3==0){
System.out.println(“Yes”);
}else{
System.out.println(“No”);
}
t–;
}
}
}

hi @AbhishekAhlawat1102
you have not reduced the value of m

while(m>0){
m=m/10;
}
do this in your while loop

@AbhishekAhlawat1102
please mark your doubt as resolved and rate my work as well