The dog were happy when it heard the sound.
The dog was happy when it heard the sound.
### Instruction:
Transform the following sentence by replacing “was” with “were”.

### Input:
The dog was happy when it heard the sound.

### Response:
