Identify the subject of the sentence:

The book was on the shelf.
The subject of the sentence is "book."
Complete the following task based on the instruction and optional input provided.### Instruction:
Identify the subject of the sentence:

The book was on the shelf.

### Output:
The subject of the sentence is "book."