Input (grade 10): The storm weakened as it moved overland and became extratropical on July 7.
Output (grade 10): The storm weakened as it moved inland and became extratropical on July 7.