ねんでした
nendeshita

Noun
Desu Copula

The polite past form of

1. Was thinking.; Used to think.

Past/Perfective
Polite