```
n=0
while n>=100:
n=input('Input:')
l=[]
ch=[]
al=[]
k=[]
f=[]
count=0
for i in range(0,n):
l.append(raw_input())
for a in l:
for e in list(a):
if ord(e)==41:
count=count+1
elif e!=')':
if count!=0:
k.append(ch.pop(-count-1))
for j in range(0,count):
k.append(ch.pop(-count+j))
for j in range(0,count):
k.append(al.pop())
count=0
if (41<ord(e)<48 or ord(e)==94) and ord(e)!=46:
al.append(e)
elif ord(e)!=40:
ch.append(e)
al.reverse()
if count!=0:
for j in ch:
k.append(j)
for j in al:
k.append(j)
f.append(''.join(k))
count=0
k=[]
al=[]
ch=[]
for i in f:
print i
```

my code is having NZEC error even my previous codes had the same error plzzz help!!

Thanks