けいではありませんでした
gukeidewārimasendeshita

Noun
Desu Copula

The polite, past negative form of 愚計

1. It was not a foolish plan.; It wasn't a silly idea.

Past/Perfective
Negative
Polite
Formal Register