かさじゃなかったです
kasajanakattadesu

Noun
Desu Copula

The polite, past negative form of

1. It wasn't a hat.; It wasn't wearing a hat.

Past/Perfective
Negative
Polite
Casual Register