Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.

### Instruction:
Rearrange this sentence and identify the kinds of words used

### Input:
Beneath the waves sea, the sponges swayed

### Response:
The sponges beneath the sea swayed.
This sentence includes the nouns "waves", "sea", "sponges", and "swayed"; the preposition "beneath"; and the adverb "the".