Rearrange the words to make a grammatically correct sentence: "the student was extremely tired the exam".
The student was extremely tired after the exam.
Complete the following task based on the instruction and optional input provided.### Instruction:
Rearrange the words to make a grammatically correct sentence: "the student was extremely tired the exam".

### Output:
The student was extremely tired after the exam.