Delhi odd even fundamental problems

This is link to my code please tell whats wrong in it

hi vaibhav
your code is not running correctly for the following input
4
32345
44444
33336
00001
expected output:
No
Yes
Yes
Yes
your output:
No
Yes
No
No

@aastha011 could you please correct it

hi vaibhav i guess your logic is not correct it is only working for the sample cases
the correct logic is this
Take input of the Number.
Declare two variables to store the sum of even numbers and odd numbers.
Extract digit one by one ( by % 10).
Check if the number is even or odd.
If even add the number in the variable storing even sum.

Othewise add it in the variable storing odd sum.

After the loop, Check if the even sum is divisible by 4.
    If True, print Yes.
    otherwise print No.
Check if the odd sum is divisible by 3.
    If True, print Yes.
    otherwise print No.

try working upon this logic. if you still face any difficulty i will help you out.

@aastha011 thanx I used two variables even sum and odd sum and the code is working

its not working still