for this problem I have submitted this code.Why the NZEC error is coming??
s = raw_input()
print s[1:len(s)-1] + str(" 0 ") + str("0")
s = "</" + s[1:len(s)]
t = raw_input()
while s != t :
st=0
for each in t :
if each == '#' :
st = st+1
else :
break
if t[st+1] == '/' :
t = raw_input()
continue
else :
t = t.split()
d = t[0]
if len(t) == 1 :
d = d[:len(d)-1]
print d[st+1:len(d)],st,len(t)-1
t = raw_input()