Input (grade 8): Their provisions were finished just before the end of the journey, and the whole party was very near exhaustion.
Output (grade 5): They ran out of food before the end of the journey, and the whole group was very, very tired.