Edit the following sentence to remove all of the grammar problems:
The door was in fron of the class so I had to pass the professor to exit.
The door was in the front of the class, so I had to pass the professor to exit.