あたまではありませんでした
iriatamadewārimasendeshita

Noun
Desu Copula

The polite, past negative form of 入り頭

1. Was not the first to understand.; Did not occur to me.

Past/Perfective
Negative
Polite
Formal Register