Mary is writing an essay for her literature class. The essay has to be between 500 and 1000 words (both inclusive). If the essay is of the correct length, print Good Job!. If it does not meet the length criteria, print Revise the essay.
Note: The length of Mary's essay is passed as a parameter to the solve() function and pay attention to the correct spelling of "Good Job!" and "Revise the essay" in your script.
Tip: You will have to use logical operators here!