Nth gets the nth line from the input