Help me someone. At least I should get a TLE. Why am I getting NZEC? I am sure there is some problem with the input file
import sys
from heapq import heappush, nsmallest
def negative(x):
return -x
def main():
s = sys.stdin.readline
while True:
try:
n = int(raw_input())
list_of_numbers = map(int, s().split())
k = int(s())
ans = ''
for i in range(n-k+1):
heap = []
save = list_of_numbers[i:i+k]
save = map(negative, save)
for value in save:
heappush(heap, value)
x = nsmallest(1, save)[0]
ans+=str(abs(x))+' '
print ans
print ''
except EOFError:
return
if __name__ == '__main__':
main()