いもではありませんでした
imodewārimasendeshita

Noun
Desu Copula

The polite, past negative form of

1. Was not a potato.; Was not sweet potato.

Past/Perfective
Negative
Polite
Formal Register