def reset(fname):
  global f
  f = open(fname,"r")

def next():
  return f.readline ()

