Input (grade 4): The furthest stream is also often called the headstream.
Output (grade 4): The farthest stream is called the headstream or headwater.