How does the sentence end?

During class all students were given a lot to write in their books using pens. The
pens were drained.