へんではありませんでした
hendewārimasendeshita

Noun
Desu Copula

The polite, past negative form of

1. Was not on the side.; Was not nearby.; Was not adjacent.

Past/Perfective
Negative
Polite
Formal Register
Mathematics