I’m unable to find any single testcase which gives wrong output , but it still shows wrong answer. Please help and point out my mistake for this problem LONGSEQ Problem - CodeChef

```
T = int(raw_input())
L = []
for i in range(0,T):
t = int(raw_input())
L.append(t)
for i in range(0,len(L)):
c0 = 0
c1 = 0
for m in str(L[i]):
if m == '0':
c0 += 1
elif m == '1':
c1 += 1
if (len(str(L[i])) - c0) == 1 or (len(str(L[i])) - c1) == 1:
print "Yes"
else:
print "No"
```