In this task, you will be shown an incorrect English sentence. You need to generate a corrected form of the input sentence.

When I was a senior high school student , I spend all of my time studying textbooks for the tests . 
When I was a senior high school student , I spent all of my time studying textbooks for the tests . 