The problem is to check whether the decimal representation of a given binary number is divisible by 5 or not.
First line consists of T test cases. Only line of every test case consists of Binary string.
Print "Yes" if it is divisible by 5, else "No" (without quotes).
1<=|length of binary string|<=100
If you have purchased any course from GeeksforGeeks then please ask your doubt on course discussion forum. You will get quick replies from GFG Moderators there.