Delhi Odd Even hidden testcase not working

Hey, I tried to write the code for the Delhi Odd Even problem and it seems to work on the sample test cases and it works even if i try it in another IDE but it doesn’t satisfy your Testcase. I dont want to unlock the editorial so i was hoping you could help me out:
Code –
#include
int main() {
int N, rem;
int even = 0;
int odd = 0;
long long c_no;
std::cin >> N;
for (int i = 0; i < N; i++) {
std::cin >> c_no;
while (c_no != 0) {
rem = c_no % 10;
c_no = c_no / 10;
if (rem%2 == 0) {
even = even + rem;
}
if(rem%2 != 0) {
odd = odd + rem;
}
}
if (odd != 0 && odd%3 == 0) {
std::cout << “Yes” << std::endl;
}
else if (even != 0 && even%4 == 0) {
std::cout << “Yes” << std::endl;
}
else {
std::cout << “No” << std::endl;
}
}
return 0;
}