たなではありませんでした
tanadewārimasendeshita

Noun
Desu Copula

The polite, past negative form of

1. It was not a shelf.; It wasn't the shelf.

Past/Perfective
Negative
Polite
Formal Register