Input (grade 7): The default result is -1 to indicate a string longer than 70 characters.
Output (grade 7): The default result is -1 to indicate a string longer than 80 characters.